adds an 80 server

This commit is contained in:
Timothy Prepscius 2013-09-29 20:27:44 -04:00
parent 8d95e79ab1
commit 40274be6ae
1 changed files with 21 additions and 0 deletions

View File

@ -85,6 +85,27 @@ http {
}
}
server {
listen 80;
# server_name mail.mailiverse.com;
ssl off;
location /Mailiverse/ {
proxy_pass http://127.0.0.1:8080; # my existing apache instance
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
location / {
autoindex off;
root /var/local/www/;
}
}
}