Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- root /var/www/html;
- index index.php index.html index.htm index.nginx-debian.html;
- server_name server_domain_or_IP;
- location / {
- try_files $uri $uri/ =404;
- }
- location ~ \.php$ {
- include snippets/fastcgi-php.conf;
- fastcgi_pass unix:/run/php/php7.0-fpm.sock;
- }
- location ~ /\.ht {
- deny all;`.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement