Last active
May 7, 2024 23:28
-
-
Save charlieporth1/2caa8cd1e65156bd2d2eeb933fbe7fb6 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 { | |
listen ctp-vpn.local:80; | |
listen ctp-vpn.local:3000; | |
listen [::]:80; | |
listen [::]:3000; | |
server_name | |
http.charlesp.net | |
simple-http.charlesp.net | |
test-http.charlesp.net | |
http-test.charlesp.net | |
http-only.charlesp.net | |
http-forever.charlesp.net | |
httponly.charlesp.net | |
httpforever.charlesp.net | |
; | |
# access_log /var/log/nginx/simple-http-access.log default buffer=64m flush=1s; | |
access_log /var/log/nginx/simple-http-access.log default buffer=64m flush=5m; | |
error_log /var/log/nginx/simple-http-error.log; | |
# root OPTS | |
include snippets/security_locations.conf; | |
root /var/www/html/simple-http/; | |
index index.html index.htm index.php; | |
location / { | |
try_files $uri $uri/ =404; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment