ART-DECOR installation nginx http example

Example NGINX HTTP config

Reroute all HTTP traffic to HTTPS

# virtual host configuration for decor, reverse proxy to tomcat
server {
    client_max_body_size 40M;
    listen 80;
    
    server_name <<YOUR PUBLIC URL>>;
    error_page 404 502 503 504 /50x.html;
    
    location = /50x.html {
       root   html;
       allow all;
    }
    
    charset utf-8;
    access_log logs/nginx.access.log main;
    
    # rewrite / to https://
    location / {
            return 301 https://$host$request_uri;
    }
    # end of location / block

}
# end of decor server block