Created
November 22, 2018 22:06
-
-
Save asigatchov/d8f12938f327296cd945dc6898c503ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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