Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name www.adpoox.com adpoox.com www.cpmyoutube.tk cpmyoutube.tk www.cpmmonk.tk cpmmonk.tk www.cpmbbtv.tk cpmbbtv.tk www.tudogostoso.tk tudogostoso.tk www.clickjogo.tk clickjogo.tk www.canaltechbr.tk canaltechbr.tk www.bandstudio.tk bandstudio.tk www.receitadevovo.tk receitadevovo.tk www.avidadoce.tk avidadoce.tk;
- root /home/adpoox;
- index index.php index.html index.htm;
- #charset koi8-r;
- #access_log logs/host.access.log main;
- error_log /dev/null crit;
- location /{
- try_files $uri $uri/ /index.php?$args;
- }
- #error_page 404 /404.html;
- # redirect server error pages to the static page /50x.html
- #
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root html;
- }
- # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
- client_max_body_size 10240m;
- client_header_timeout 2400000;
- client_body_timeout 240000000;
- #upload_store /home/tmp 1
- location ~ \.php$ {
- try_files $uri =404;
- fastcgi_pass unix:/var/run/adpoox.socket;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME /home/adpoox$fastcgi_script_name;
- include fastcgi_params;
- }
- location ~* ^.+\.(css|js|jpg|gif|png|txt|ico|swf|xml|woff)$ {
- access_log off;
- root /home/adpoox;
- expires modified +90d;
- add_header Pragma public;
- add_header Cache-Control "public, must-revalidate, proxy-revalidate";
- }
- #Extra Nginx Sitemap
- #rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ "/index.php?xml_sitemap=params=$2" last;
- location ~* \.(?:manifest|appcache|html?|xml|json)$ {
- expires -1;
- # access_log logs/static.log; # I don't usually include a static log
- }
- # Feed
- location ~* \.(?:rss|atom)$ {
- expires 1h;
- add_header Cache-Control "public";
- }
- # Media: images, icons, video, audio, HTC
- location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
- expires 1M;
- access_log off;
- add_header Cache-Control "public";
- }
- location ~* \.(?:css|js)$ {
- expires 1y;
- access_log off;
- add_header Cache-Control "public";
- }
- location ~ /\.ht {
- deny all;
- }
- location = /favicon.ico { access_log off; log_not_found off; }
- location = /robots.txt { access_log off; log_not_found off; }
- location ~ /\. { deny all; access_log off; log_not_found off; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement