1
0
Fork 0
mirror of synced 2024-11-16 22:25:33 -05:00
ovpn-admin/nginx/default.conf.tpl
2024-01-01 21:14:00 +04:00

16 lines
409 B
Smarty

server {
listen 8088;
server_name 127.0.0.1;
location / {
auth_basic "Pass";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://${OVPN_ADMIN_IP}:8080;
# Disable caching of credentials
add_header Cache-Control "no-store, private, no-cache, must-revalidate, max-age=0";
add_header Pragma "no-cache";
add_header Expires "Thu, 01 Jan 1970 00:00:00 GMT";
}
}