# Nginx server configuration. server { listen ${PORT}; gzip on; gzip_types application/atom+xml application/javascript application/json application/rss+xml application/vnd.ms-excel application/xml image/svg+xml image/jpeg image/gif image/png image/webp text/css text/html text/plain text/xml ; location / { root /usr/share/nginx/html; index index.html; try_files $uri $uri/ @app; } location @app { proxy_pass http://${APP_HOST}:${APP_PORT}; } }