mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-12-03 05:22:15 -05:00
adds an 80 server
This commit is contained in:
parent
8d95e79ab1
commit
40274be6ae
@ -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/;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user