Sets up nginx on image for config app with ssl
Move copying entry scripts to quay-entrypoint
This commit is contained in:
parent
2b19e1d93f
commit
69c155ef4f
11 changed files with 139 additions and 2 deletions
16
config_app/conf/server-base.conf
Normal file
16
config_app/conf/server-base.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
# vim: ft=nginx
|
||||
|
||||
server_name _;
|
||||
|
||||
# Proxy Headers
|
||||
proxy_set_header X-Forwarded-For $proper_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $proper_scheme;
|
||||
proxy_set_header Host $host;
|
||||
proxy_redirect off;
|
||||
|
||||
proxy_set_header Transfer-Encoding $http_transfer_encoding;
|
||||
|
||||
location / {
|
||||
proxy_pass http://web_app_server;
|
||||
}
|
||||
|
Reference in a new issue