Created
February 21, 2014 01:45
-
-
Save wolf0403/9127297 to your computer and use it in GitHub Desktop.
Email subscription form "backend"
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 80; ## listen for ipv4; this line is default and implied | |
#listen [::]:80 default ipv6only=on; ## listen for ipv6 | |
listen 80 default_server; | |
server_name _; | |
root /home/ubuntu/landing-page; | |
access_log /var/log/nginx/access_80.log; | |
error_log /var/log/nginx/error_80.log; | |
location / { | |
index index.html; | |
} | |
location /subscribe { | |
empty_gif; | |
access_log /var/log/nginx/subscribe_log; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment