Created
January 17, 2015 16:38
-
-
Save dkotter/bb3811ba40565a69f883 to your computer and use it in GitHub Desktop.
Emmis config
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 { | |
| # Determines the port number that nginx will listen to for this | |
| # server configuration. 80 is the default http port. | |
| listen 80; | |
| # Listen for HTTPS requests as well | |
| listen 443 ssl; | |
| # Tells nginx what domain name should trigger this configuration. If | |
| # you would like multiple domains or subdomains, they can be space | |
| # delimited here. See http://nginx.org/en/docs/http/server_names.html | |
| server_name emmis.dev *.emmis.dev; | |
| # Elasticsearch endpoint | |
| #location /es-search { | |
| # rewrite ^/es-search(.*) $1 break; | |
| # proxy_set_header Host $host; | |
| # proxy_pass http://192.168.50.4:9200; | |
| #} | |
| # Tells nginx which directory the files for this domain are located | |
| root /srv/www/emmis; | |
| # Includes a basic WordPress configuration to help with the common | |
| # rules needed by a web server to deal with WordPress properly. | |
| include /etc/nginx/nginx-wp-common.conf; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment