Created
October 18, 2019 15:19
-
-
Save jeffotoni/4d90ae0c04fe1d840ba17b1a7a1204b1 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 80 default_server; | |
listen [::]:80 default_server; | |
server_name apiphp.projeto1.local; | |
root /var/www/gitvirtualhosts/producao/projeto1; | |
index index index.php index.html index.htm index.nginx-debian.html; | |
access_log /var/log/nginx/apiphp.projeto1.local.log; | |
error_log /var/log/nginx/apiphp.xxxxx.local.error.log; | |
location /apiphp/sqs/queue { | |
rewrite ^/apiphp\/sqs\/queue /httpphp/public/index.php last; | |
} | |
location ~ \.(php|s3)$ { | |
if (!-e $document_root$document_uri){return 404;} | |
include /etc/nginx/fastcgi-zend-server.conf; | |
# First attempt to serve request as file, then | |
# as directory, then fall back to displaying a 404. | |
try_files $uri $uri/ =404; | |
} | |
#ZEND-{9A37AB21C8C7E0353F62704E10FAE5B0} | |
include "/usr/local/zend/etc/sites.d/zend-default-vhost-80.conf"; | |
#ZEND-{9A37AB21C8C7E0353F62704E10FAE5B0} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment