default.tld.static 828 B

12345678910111213141516171819202122232425
  1. include /etc/nginx/lcwm2/vhost_static.conf;
  2. if ($scheme = http) {
  3. return 301 https://$server_name$request_uri;
  4. }
  5. # location ~ \.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|wmv|wma|mp3|mpg|avi|mpeg|mp4|divx)$ {
  6. # index index.html index.htm index.php index.shtml;
  7. # access_log off;
  8. # expires 14d;
  9. # try_files $uri @apache;
  10. # proxy_cache PROXY;
  11. # proxy_cache_valid 200 302 1d;
  12. # proxy_cache_valid 404 30m;
  13. # proxy_cache_valid any 10m;
  14. # proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
  15. # }
  16. # error_page 500 502 503 504 /50x.html;
  17. # location = /50x.html {
  18. # root html;
  19. # }
  20. # location ~ /\.ht {
  21. # deny all;
  22. # }