Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 127.0.0.1:8080;
- index index.php index.html index.htm;
- root /app/phishingpoint/public;
- access_log /var/log/nginx/access.backend.log;
- error_log /var/log/nginx/error.backend.log;
- add_header X-Frame-Options "SAMEORIGIN";
- add_header X-XSS-Protection "1; mode=block";
- add_header X-Content-Type-Options "nosniff";
- location / {
- # try to serve file directly, fallback to index.php
- try_files $uri /index.php?$args;
- }
- location = /favicon.ico { access_log off; log_not_found off; }
- location = /robots.txt { access_log off; log_not_found off; }
- location ~ \.php$ {
- fastcgi_index index.php;
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param PATH_INFO $fastcgi_path_info;
- include fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement