From 5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3 Mon Sep 17 00:00:00 2001 From: punk Date: Thu, 29 Apr 2021 16:10:16 +0100 Subject: linux tools configs moved to linux folder --- tools/conf/etc/nginx/sites/default.conf | 60 -------------- tools/conf/etc/nginx/sites/drupal.conf | 129 ------------------------------- tools/conf/etc/nginx/sites/flyspray.conf | 40 ---------- tools/conf/etc/nginx/sites/laravel.conf | 28 ------- 4 files changed, 257 deletions(-) delete mode 100644 tools/conf/etc/nginx/sites/default.conf delete mode 100644 tools/conf/etc/nginx/sites/drupal.conf delete mode 100644 tools/conf/etc/nginx/sites/flyspray.conf delete mode 100644 tools/conf/etc/nginx/sites/laravel.conf (limited to 'tools/conf/etc/nginx/sites') diff --git a/tools/conf/etc/nginx/sites/default.conf b/tools/conf/etc/nginx/sites/default.conf deleted file mode 100644 index dcb076f..0000000 --- a/tools/conf/etc/nginx/sites/default.conf +++ /dev/null @@ -1,60 +0,0 @@ - -server { - listen 443 ssl; - # listen [::]:443 ssl; - - server_name machine.example; - - root /srv/www/default; - - location /ports { - alias /var/ports/ports; - autoindex on; - } - - location /distfiles { - alias /var/ports/distfiles; - autoindex on; - } - - location /packages { - root /var/ports/packages; - autoindex off; - } - - - location /bug { - index index.php; - alias /srv/www/default/flyspray; - try_files $uri $uri/ index.php$is_args$args; - } - - location ~ ^/bug(.+\.php)$ { ### This location block was the solution - alias /srv/www/default/flyspray; - - fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_index index.php; - try_files $uri /index.php =404; - include /etc/nginx/fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$1; - # fastcgi_pass unix:/var/run/php5-fpm.sock; - fastcgi_pass 127.0.0.1:9000; - } - - location / { - alias /srv/www/default/pmwiki/; - index pmwiki.php - try_files $uri $uri/ /pmwiki.php$is_args$args; - } - - location ~ \.php$ { - alias /srv/www/default/pmwiki; - fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_index pmwiki.php; - try_files $uri /pmwiki.php =404; - include /etc/nginx/fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - # fastcgi_pass unix:/var/run/php5-fpm.sock; - fastcgi_pass 127.0.0.1:9000; - } -} diff --git a/tools/conf/etc/nginx/sites/drupal.conf b/tools/conf/etc/nginx/sites/drupal.conf deleted file mode 100644 index f79ed14..0000000 --- a/tools/conf/etc/nginx/sites/drupal.conf +++ /dev/null @@ -1,129 +0,0 @@ -server { - - listen 192.168.1.254:443 ssl; - listen 10.0.0.254:443 ssl; - - server_name machine.example - - root /srv/www/default/drupal; ## <-- Your only path reference. - - # Enable compression, this will help if you have for instance advagg¿? module - # by serving Gzip versions of the files. - gzip_static on; - - location ~ ^/stats/(.*)$ { - alias /srv/www/stats/$1; - autoindex on; - } - - location /doc { - alias /srv/www/doc; - autoindex on; - } - - location /ports { - alias /var/ports/ports; - autoindex on; - } - - location /distfiles { - alias /var/ports/distfiles; - autoindex on; - } - - - location /packages { - root /var/ports/packages; - autoindex off; - } - - - location = /favicon.ico { - log_not_found off; - access_log off; - } - - location = /robots.txt { - allow all; - log_not_found off; - } - - # This matters if you use drush prior to 5.x - # After 5.x backups are stored outside the Drupal install. - #location = /backup { - # deny all; - #} - - # Very rarely should these ever be accessed outside of your lan - location ~* \.(txt|log)$ { - allow 192.168.0.0/16; - deny all; - } - - location ~ \..*/.*\.php$ { - return 403; - } - - # No no for private - location ~ ^/sites/.*/private/ { - return 403; - } - - # Block access to "hidden" files and directories whose names begin with a - # period. This includes directories used by version control systems such - # as Subversion or Git to store control files. - location ~ (^|/)\. { - return 403; - } - - location / { - # This is cool because no php is touched for static content - try_files $uri @rewrite; - } - - location ~* /update.php*/.*$ { - # You have 2 options here - # For D7 and above: - # Clean URLs are handled in drupal_environment_initialize(). - rewrite ^ /update.php; - # For Drupal 6 and bwlow: - # Some modules enforce no slash (/) at the end of the URL - # Else this rewrite block wouldn't be needed (GlobalRedirect) - #rewrite ^/(.*)$ /index.php?q=$1; - } - - location @rewrite { - # You have 2 options here - # For D7 and above: - # Clean URLs are handled in drupal_environment_initialize(). - rewrite ^ /index.php; - # For Drupal 6 and bwlow: - # Some modules enforce no slash (/) at the end of the URL - # Else this rewrite block wouldn't be needed (GlobalRedirect) - #rewrite ^/(.*)$ /index.php?q=$1; - } - - location ~ \.php$ { - fastcgi_split_path_info ^(.+\.php)(/.+)$; - #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini - include fastcgi_params; - fastcgi_param SCRIPT_FILENAME $request_filename; - fastcgi_intercept_errors on; - #fastcgi_pass unix:/tmp/phpfpm.sock; - fastcgi_pass 127.0.0.1:9000; - } - - # Fighting with Styles? This little gem is amazing. - # This is for D6 - #location ~ ^/sites/.*/files/imagecache/ { - # This is for D7 and D8 - location ~ ^/sites/.*/files/styles/ { - try_files $uri @rewrite; - } - - location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { - expires max; - #log_not_found off; - } - -} diff --git a/tools/conf/etc/nginx/sites/flyspray.conf b/tools/conf/etc/nginx/sites/flyspray.conf deleted file mode 100644 index ba174f1..0000000 --- a/tools/conf/etc/nginx/sites/flyspray.conf +++ /dev/null @@ -1,40 +0,0 @@ - -server { - listen 443 ssl; - # listen [::]:443 ssl; - - server_name machine.example; - - root /srv/www/default/flyspray; - index index.php; - - location /ports { - alias /var/ports/ports; - autoindex on; - } - - location /distfiles { - alias /var/ports/distfiles; - autoindex on; - } - - location /packages { - root /var/ports/packages; - autoindex off; - } - - - location / { - try_files $uri $uri/ index.php$is_args$args; - } - - location ~ \.php$ { - fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_index index.php; - try_files $uri /index.php =404; - include /etc/nginx/fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - # fastcgi_pass unix:/var/run/php5-fpm.sock; - fastcgi_pass 127.0.0.1:9000; - } -} diff --git a/tools/conf/etc/nginx/sites/laravel.conf b/tools/conf/etc/nginx/sites/laravel.conf deleted file mode 100644 index addfd18..0000000 --- a/tools/conf/etc/nginx/sites/laravel.conf +++ /dev/null @@ -1,28 +0,0 @@ -server { - listen 443 ssl; - # listen [::]:443 ssl; - - root /srv/www/default/laravel/public; - server_name machine.example - - location /doc { - alias /srv/www/doc; - index index.html; - autoindex on; - } - - location / { - try_files $uri $uri/ /index.php$is_args$args; - } - - location ~ \.php$ { - index index.php; - fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_index index.php; - # try_files $uri /index.php =404; - include /etc/nginx/fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - # fastcgi_pass unix:/var/run/php5-fpm.sock; - fastcgi_pass 127.0.0.1:9000; - } -} -- cgit 1.4.1-2-gfad0 506f9e38155a4e4aa'>^
d3fc6e1f2 ^
fedc13698 ^
d3fc6e1f2 ^



fedc13698 ^
d3fc6e1f2 ^
fedc13698 ^

04a4f3540 ^
7e747d11c ^
d3fc6e1f2 ^
7e747d11c ^
d3fc6e1f2 ^
7e747d11c ^

fedc13698 ^

7e747d11c ^
d3fc6e1f2 ^



fedc13698 ^
d3fc6e1f2 ^
fedc13698 ^

d3fc6e1f2 ^












7e747d11c ^
d3fc6e1f2 ^
fedc13698 ^
d3fc6e1f2 ^


70ea45cdb ^
d3fc6e1f2 ^


7e747d11c ^
d3fc6e1f2 ^


fedc13698 ^
d3fc6e1f2 ^


70ea45cdb ^
d3fc6e1f2 ^


fedc13698 ^
d3fc6e1f2 ^

fedc13698 ^
d3fc6e1f2 ^

fedc13698 ^
d3fc6e1f2 ^
fedc13698 ^

d3fc6e1f2 ^

















fedc13698 ^
d3fc6e1f2 ^

64517445e ^
d3fc6e1f2 ^



fedc13698 ^
d3fc6e1f2 ^
fedc13698 ^
d3fc6e1f2 ^
fedc13698 ^
d3fc6e1f2 ^

fedc13698 ^
40ec7be45 ^
226595515 ^

d3fc6e1f2 ^
































226595515 ^
d3fc6e1f2 ^










226595515 ^
d3fc6e1f2 ^






47335aab4 ^
d3fc6e1f2 ^






226595515 ^
d3fc6e1f2 ^





04a4f3540 ^

d3fc6e1f2 ^


40ec7be45 ^
04a4f3540 ^
d3fc6e1f2 ^


04a4f3540 ^
7e747d11c ^
04a4f3540 ^

226595515 ^

7e747d11c ^
d3fc6e1f2 ^






226595515 ^
d3fc6e1f2 ^








2fda95a4d ^
d3fc6e1f2 ^







226595515 ^
d3fc6e1f2 ^

























fedc13698 ^
226595515 ^
d3fc6e1f2 ^
fedc13698 ^
d3fc6e1f2 ^
226595515 ^
d3fc6e1f2 ^



226595515 ^
d3fc6e1f2 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290