Created
August 19, 2016 22:08
-
-
Save timwis/66c2a65cf73c9348c272f08e2bec3d95 to your computer and use it in GitHub Desktop.
nginx conf to redirect
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
worker_processes 1; | |
error_log logs/error.log; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
proxy_buffer_size 128k; | |
proxy_buffers 4 256k; | |
proxy_busy_buffers_size 256k; | |
sendfile on; | |
keepalive_timeout 65; | |
server { | |
listen 8181; | |
server_name localhost; | |
rewrite ^ https://alpha.phila.gov$request_uri? permanent; | |
} | |
include servers/*; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment