daily autocommit
This commit is contained in:
26
nginx/conf.d/mtr.898.ro.conf
Normal file
26
nginx/conf.d/mtr.898.ro.conf
Normal file
@@ -0,0 +1,26 @@
|
||||
server {
|
||||
listen 192.168.1.2:80;
|
||||
server_name mtr.898.ro;
|
||||
|
||||
access_log /var/log/nginx/mtr.898.ro.access.log;
|
||||
error_log /var/log/nginx/mtr.898.ro.error.log notice;
|
||||
|
||||
location / {
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://172.17.0.2:8002;
|
||||
}
|
||||
|
||||
location /mtr {
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://172.17.0.2:8002;
|
||||
}
|
||||
}
|
||||
|
||||
24
nginx/conf.d/trace.898.ro.conf
Normal file
24
nginx/conf.d/trace.898.ro.conf
Normal file
@@ -0,0 +1,24 @@
|
||||
server {
|
||||
listen 192.168.1.2:80;
|
||||
server_name trace.898.ro;
|
||||
charset utf-8;
|
||||
|
||||
root /var/www/html/vhosts/club3d.ro/mtr;
|
||||
index index.php index.html;
|
||||
|
||||
access_log /var/log/nginx/trace.898.ro.access.log;
|
||||
error_log /var/log/nginx/trace.898.ro.error.log;
|
||||
|
||||
location ~* \.php$ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
include fastcgi_params;
|
||||
fastcgi_pass unix:/var/run/php-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_max_temp_file_size 0;
|
||||
fastcgi_buffer_size 4K;
|
||||
fastcgi_buffers 64 4k;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user