Remove commented out config sections
This commit is contained in:
@@ -11,7 +11,7 @@ upstream vault_backend {
|
||||
keepalive_requests 100;
|
||||
}
|
||||
|
||||
# # Redirect HTTP to HTTPS
|
||||
# Redirect HTTP to HTTPS
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
@@ -62,11 +62,11 @@ server {
|
||||
# Logging
|
||||
access_log /var/log/nginx/vault.novicelab.io_access.log json_combined;
|
||||
error_log /var/log/nginx/vault.novicelab.io_error.log debug;
|
||||
|
||||
# set $vault_backend vaultwarden:443;
|
||||
|
||||
location / {
|
||||
# proxy_pass http://$vault_backend;
|
||||
# proxy_pass http://10.0.0.250:8090;
|
||||
proxy_pass http://vault_backend;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
Reference in New Issue
Block a user