Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 144.217.31.171:80;
- server_name celular.sertaovibe.com.br www.celular.sertaovibe.com.br;
- error_log /var/log/apache2/domains/celular.sertaovibe.com.br.error.log error;
- location / {
- proxy_pass http://xxx.xxx.xxx.xx:7778;
- 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|eot$
- root /home/celular/web/celular.sertaovibe.com.br/public_html;
- access_log /var/log/apache2/domains/celular.sertaovibe.com.br.log combined;
- access_log /var/log/apache2/domains/celular.sertaovibe.com.br.bytes bytes;
- expires max;
- try_files $uri @fallback;
- }
- }
- location /error/ {
- alias /home/celular/web/celular.sertaovibe.com.br/document_errors/;
- }
- location @fallback {
- proxy_pass http://xxx.xxx.xxx.xx:7778;
- }
- location ~ /\.ht {return 404;}
- location ~ /\.svn/ {return 404;}
- location ~ /\.git/ {return 404;}
- location ~ /\.hg/ {return 404;}
- location ~ /\.bzr/ {return 404;}
- include /home/celular/conf/web/nginx.celular.sertaovibe.com.br.conf*;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement