This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
powerpanel-webview/nginx/public/ebgamesreal.conf
2020-06-05 21:47:16 -05:00

38 lines
703 B
Text

##
# EB Games Real Dot Live
##
server {
listen 80;
server_name ebgamesreal.live;
location / {
rewrite ^(.*)$ https://$host$1 permanent;
proxy_pass http://localhost:42069;
}
}
server {
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/ebgamesreal.live/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/ebgamesreal.live/privkey.pem;
server_name ebgamesreal.live;
location / {
proxy_pass http://localhost:42069;
}
}
# www Redirects
server {
listen 80;
server_name www.ebgamesreal.live;
return 301 $scheme://ebgamesreal.live$request_uri;
}
server {
listen 443;
server_name www.ebgamesreal.live;
return 301 $scheme://ebgamesreal.live$request_uri;
}