Created
February 27, 2020 13:57
-
-
Save deyvin/ca0ded0a5eb2103ef189c7509d168cbf to your computer and use it in GitHub Desktop.
This file contains 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 { | |
root /var/www/promo; | |
index index.php index.html index.htm; | |
server_name example.com.br; | |
client_max_body_size 100M; | |
location / { | |
try_files $uri $uri/ /index.php?$args; | |
} | |
location ~ \.php$ { | |
include snippets/fastcgi-php.conf; | |
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
} | |
listen 80; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment