Skip to content

Instantly share code, notes, and snippets.

@marzdgzmn
Created April 8, 2019 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marzdgzmn/2e929bbdfafe4c3c37b1e22515b4415a to your computer and use it in GitHub Desktop.
Save marzdgzmn/2e929bbdfafe4c3c37b1e22515b4415a to your computer and use it in GitHub Desktop.
server {
listen 443 http2;
server_name domain.com domain.com;
index none;
location ~ /\. {
deny all;
}
location ~* ^.+\.(rb|log)$ {
deny all;
}
location /to.do {
proxy_pass http://myapp/to.do;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment