feat: wireguard
This commit is contained in:
parent
a92a2aa1cc
commit
724cff6fbd
2 changed files with 39 additions and 9 deletions
|
|
@ -2,16 +2,8 @@ server {
|
|||
listen 80;
|
||||
server_name link.ixvd.net;
|
||||
|
||||
# SSL is managed by certbot, no need for a ssl listen; it will be generated automagically!
|
||||
|
||||
# default html page
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
proxy_pass http://wireguard:5000;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue