Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- listen [::]:80;
- server_name www.example.tld example.tld;
- root /srv/!example.tld/!www;
- index core.pl index.html index.htm;
- location ~ .pl$ {
- gzip off;
- include /etc/nginx/fastcgi_params;
- fastcgi_pass unix:/var/run/fcgiwrap.socket;
- fastcgi_index index.pl;
- fastcgi_param SCRIPT_FILENAME /srv/!example.tld/!www$fastcgi_script_name;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement