Created
December 30, 2018 17:47
-
-
Save salrashid123/233f8117be04f37f6e1684bd73f390dc to your computer and use it in GitHub Desktop.
nginx site definition file for httpRequest proto logs (/etc/nginx/sites-enabled/default)
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 { | |
listen 8080 default_server; | |
listen [::]:8080 default_server; | |
root /var/www/html; | |
index index.html index.htm index.nginx-debian.html; | |
server_name _; | |
location /_ah/health { | |
access_log off; | |
return 200 "ok\n"; | |
} | |
location /backend { | |
proxy_pass https://nghttp2.org/httpbin/delay/2; | |
} | |
location / { | |
try_files $uri $uri/ =404; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment