added redirect
This commit is contained in:
parent
a964c08090
commit
ecdbb1c2b3
2 changed files with 4 additions and 0 deletions
|
|
@ -5,5 +5,6 @@ echo 'Please see https://gitlab.cern.ch/caimira/caimira for terms of use.'
|
|||
# Run a proxy for the apps (listening on 8080).
|
||||
nginx -c /opt/caimira/nginx.conf
|
||||
|
||||
cd /opt/caimira/src/caimira
|
||||
# Run the calculator in the foreground.
|
||||
/opt/caimira/app/bin/python -m caimira.apps.calculator --port 8081 --no-debug
|
||||
|
|
|
|||
|
|
@ -73,6 +73,9 @@ http {
|
|||
proxy_pass http://calculator-app:8080/$request_uri;
|
||||
}
|
||||
|
||||
# Redirect URLs to the new scheme.
|
||||
absolute_redirect off;
|
||||
|
||||
location / {
|
||||
# By default we have no authentication.
|
||||
proxy_pass http://calculator-app:8080;
|
||||
|
|
|
|||
Loading…
Reference in a new issue