Created
December 20, 2014 16:40
-
-
Save ciwolsey/5a9b70acb885d8dcc231 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 443 ssl; | |
| root /home/ciwolsey/projects/www/; | |
| index index.html index.htm; | |
| # Make site accessible from http://localhost/ | |
| server_name localhost; | |
| ssl_certificate megamon_co_uk.csr; | |
| ssl_certificate_key megamon_co_uk.key; | |
| location / { | |
| # First attempt to serve request as file, then | |
| # as directory, then fall back to displaying a 404. | |
| try_files $uri $uri/ =404; | |
| # Uncomment to enable naxsi on this location | |
| # include /etc/nginx/naxsi.rules | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment