Skip to content

Instantly share code, notes, and snippets.

@asigatchov
Created November 22, 2018 22:06
Show Gist options
  • Save asigatchov/d8f12938f327296cd945dc6898c503ee to your computer and use it in GitHub Desktop.
Save asigatchov/d8f12938f327296cd945dc6898c503ee to your computer and use it in GitHub Desktop.
server {
listen 8080;
root /home/ubuntu/sigatchov/php;
index orel-codes.php index.html index.htm index.nginx-debian.html;
# server_name example.com;
location / {
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
}
location ~ /\.ht {
deny all;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment