mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Initial version of nginx parser roundtrip test
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name .domain.tld;
|
||||
root /var/www/cms; # Directory root of your CMS.
|
||||
index index.php index.html index.htm;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?page=$request_uri;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
include fastcgi_params;
|
||||
fastcgi_pass 127.0.0.1:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user