Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. server {
  2. listen 80;
  3. listen [::]:80;
  4. server_name www.example.tld example.tld;
  5. root /srv/!example.tld/!www;
  6.  
  7. index core.pl index.html index.htm;
  8.  
  9. location ~ .pl$ {
  10. gzip off;
  11. include /etc/nginx/fastcgi_params;
  12. fastcgi_pass unix:/var/run/fcgiwrap.socket;
  13. fastcgi_index index.pl;
  14. fastcgi_param SCRIPT_FILENAME /srv/!example.tld/!www$fastcgi_script_name;
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement