mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 16:19:13 +02:00
Initial version of nginx parser roundtrip test
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
server {
|
||||
server_name profarius.com;
|
||||
root /var/www/webapp;
|
||||
index index.html index.htm index.aspx default.aspx;
|
||||
|
||||
location = /favicon.ico {
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location = /robots.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.aspx;
|
||||
}
|
||||
|
||||
# Fighting with ImageCache? This little gem is amazing.
|
||||
location ~ ^/sites/.*/files/imagecache/ {
|
||||
try_files $uri $uri/ @rewrite;
|
||||
}
|
||||
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
|
||||
expires max;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
location ~ \.(aspx|asmx|ashx|asax|ascx|soap|rem|axd|cs|config|dll)$ {
|
||||
fastcgi_pass 127.0.0.1:9000;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user