server { listen 80; # Listen port 80 for IPv4 listen [::]:80; # Listen port 80 for IPv6 server_name vicky.com; # Domain Address root /var/www/vicky.com/public; # Location of web application #add_header X-Frame-Options "SAMEORIGIN"; #add_header X-Content-Type-Options "nosniff"; index index.html index.php; charset utf-8; location / { try_files $uri $uri/ /index.php?$query_string; } }