Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. server {
  2. listen 127.0.0.1:8080;
  3. index index.php index.html index.htm;
  4. root /app/phishingpoint/public;
  5.  
  6. access_log /var/log/nginx/access.backend.log;
  7. error_log /var/log/nginx/error.backend.log;
  8.  
  9. add_header X-Frame-Options "SAMEORIGIN";
  10. add_header X-XSS-Protection "1; mode=block";
  11. add_header X-Content-Type-Options "nosniff";
  12.  
  13. location / {
  14. # try to serve file directly, fallback to index.php
  15. try_files $uri /index.php?$args;
  16. }
  17.  
  18. location = /favicon.ico { access_log off; log_not_found off; }
  19. location = /robots.txt { access_log off; log_not_found off; }
  20.  
  21. location ~ \.php$ {
  22. fastcgi_index index.php;
  23. fastcgi_pass 127.0.0.1:9000;
  24. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  25. fastcgi_param PATH_INFO $fastcgi_path_info;
  26. include fastcgi_params;
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement