1
0
Fork 0
mirror of synced 2024-06-17 06:41:09 -04:00
ovpn-admin/nginx/default.conf.tpl

17 lines
409 B
Smarty
Raw Normal View History

2024-01-01 12:14:00 -05:00
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";
}
}