Changes to support new design

This commit is contained in:
Marwolf
2018-08-18 12:12:37 -04:00
parent b8c12d935f
commit 3c7a2da359
7 changed files with 43 additions and 95 deletions

View File

@@ -15,15 +15,13 @@ server {
error_log /opt/bitnami/nginx/logs/error.log;
access_log /opt/bitnami/nginx/logs/access.log;
#rewrite ^ https://$http_host$request_uri? permanent; #Redirect traffic to HTTPS
root /app;
index index.html index.htm index.php index.jsp;
index index.jsp index.html index.htm index.php;
client_max_body_size 100M;
location / {
try_files $uri $uri/index.html;
try_files $uri $uri/ =404;
}
####### Proxies #######
@@ -45,7 +43,7 @@ server {
}
# Tomcat proxy
location ~ \.(do|jspa|obr|jsp|txt|zip) {
location ~ \.jsp$ {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;