Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- server_name tajikistan.bigbrand.vip www.tajikistan.bigbrand.vip;
- charset off;
- index index.php index.html index.sl;
- disable_symlinks if_not_owner from=$root_path;
- include /etc/nginx/vhosts-includes/*.conf;
- include /etc/nginx/vhosts-resources/tajikistan.bigbrand.vip/*.conf;
- error_log /var/www/httpd-logs/tajikistan.bigbrand.vip.error.log notice;
- ssi on;
- return 301 https://$host:443$request_uri;
- set $root_path /var/www/www-root/data/www/tajikistan.bigbrand.vip;
- root $root_path;
- gzip on;
- gzip_comp_level 9;
- gzip_disable "msie6";
- gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
- location / {
- proxy_connect_timeout 600;
- proxy_send_timeout 600;
- proxy_read_timeout 600;
- send_timeout 600;
- location ~ [^/]\.ph(p\d*|tml)$ {
- try_files /does_not_exists @fallback;
- }
- location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
- expires 15d;
- try_files $uri $uri/ @fallback;
- }
- location / {
- try_files /does_not_exists @fallback;
- }
- }
- location @fallback {
- proxy_pass http://127.0.0.1:8080;
- proxy_redirect http://127.0.0.1:8080 /;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
- proxy_set_header X-Forwarded-Port $server_port;
- access_log off;
- }
- access_log off;
- listen 188.127.229.66:80 default_server;
- listen 188.127.229.69:80 default_server;
- listen [2a06:dd00:1:2:230:48ff:fec0:86ea]:80 default_server;
- }
- server {
- server_name tajikistan.bigbrand.vip www.tajikistan.bigbrand.vip;
- ssl on;
- ssl_certificate "/var/www/httpd-cert/www-root/tajikistan.bigbrand.vip_le1.crtca";
- ssl_certificate_key "/var/www/httpd-cert/www-root/tajikistan.bigbrand.vip_le1.key";
- ssl_ciphers EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH;
- ssl_prefer_server_ciphers on;
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- add_header Strict-Transport-Security "max-age=31536000;";
- charset off;
- index index.php index.html index.sl;
- disable_symlinks if_not_owner from=$root_path;
- include /etc/nginx/vhosts-includes/*.conf;
- include /etc/nginx/vhosts-resources/tajikistan.bigbrand.vip/*.conf;
- error_log /var/www/httpd-logs/tajikistan.bigbrand.vip.error.log notice;
- ssi on;
- set $root_path /var/www/www-root/data/www/tajikistan.bigbrand.vip;
- root $root_path;
- gzip on;
- gzip_comp_level 9;
- gzip_disable "msie6";
- gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
- location / {
- location ~ [^/]\.ph(p\d*|tml)$ {
- try_files /does_not_exists @fallback;
- }
- location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
- expires 15d;
- try_files $uri $uri/ @fallback;
- }
- location / {
- try_files /does_not_exists @fallback;
- }
- }
- listen 188.127.229.66:443 default_server;
- listen 188.127.229.69:443 default_server;
- listen [2a06:dd00:1:2:230:48ff:fec0:86ea]:443 default_server;
- ssl_dhparam /etc/ssl/certs/dhparam4096.pem;
- location @fallback {
- proxy_pass http://127.0.0.1:8080;
- proxy_redirect http://127.0.0.1:8080 /;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
- proxy_set_header X-Forwarded-Port $server_port;
- access_log off;
- }
- access_log off;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement