Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/display/conf/web/replaceddomain.nginx.conf [----] 0 L:[ 1+ 7 8/ 34] *(223 /1288b) 0009 0x009 [*][X]
- server {
- listen 192.168.21.2:80;
- server_name replaceddomain ;
- error_log /var/log/apache2/domains/replaceddomain.error.log error;
- location / {
- proxy_pass http://192.168.21.2:8080;
- <------>location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|
- root /home/display/web/replaceddomain/public_html/web;
- access_log /var/log/apache2/domains/replaceddomain.log combined;
- access_log /var/log/apache2/domains/replaceddomain.bytes bytes;
- expires max;
- try_files $uri @fallback;
- }
- }
- location /error/ {
- alias /home/display/web/replaceddomain/document_errors/;
- }
- location @fallback {
- proxy_pass http://192.168.21.2:8080;
- }
- location ~ /\.ht {return 404;}
- location ~ /\.svn/ {return 404;}
- location ~ /\.git/ {return 404;}
- location ~ /\.hg/ {return 404;}
- location ~ /\.bzr/ {return 404;}
- include /home/display/conf/web/nginx.replaceddomain.conf*;
- }
Add Comment
Please, Sign In to add comment