17 lines
470 B
Plaintext
17 lines
470 B
Plaintext
server {
|
|
server_name your domain name;
|
|
|
|
location / {
|
|
proxy_pass http://<server local wireguard ip>:31336;
|
|
proxy_set_header Authorization "";
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "Upgrade";
|
|
proxy_set_header Host $host;
|
|
auth_basic "awoo systems -- authorization required";
|
|
auth_basic_user_file put an htpasswd file here;
|
|
}
|
|
|
|
listen 80;
|
|
}
|