You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/06/27 09:12:44 UTC

[GitHub] [superset] zufolo441 commented on issue #15331: Nginx Configuration

zufolo441 commented on issue #15331:
URL: https://github.com/apache/superset/issues/15331#issuecomment-869129955


   our configuration:
   superset server is 192.168.1.80
   
   server {
   	listen 159.213.63.16:80;
   	server_name dwh.istitutodegliinnocenti.it;
           include /etc/nginx/acmechallenge.conf;
   }
   server {
   	listen 159.213.63.16:443 ssl;
   	server_name dwh.istitutodegliinnocenti.it;
   
   	root /var/www/html;
   
   	index index.html index.htm index.nginx-debian.html;
       
       	ssl_certificate /etc/ssl/dwh.istitutodegliinnocenti.it/domain.crt;
   	ssl_certificate_key /etc/ssl/dwh.istitutodegliinnocenti.it/domain.key;
   
   	ssl_protocols TLSv1.2 TLSv1.3;
   	ssl_prefer_server_ciphers on; 
   	ssl_dhparam /etc/nginx/dhparam.pem;
   	ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;
   	ssl_ecdh_curve secp384r1;
   	ssl_session_timeout  10m;
   	ssl_session_cache shared:SSL:10m;
   	resolver localhost valid=300s;
   	resolver_timeout 5s; 
   
   	if ($request_uri ~ ^(.*)\?$) { return 301 $1; }
   	access_log  /var/log/nginx/dwh_access.log;
   	error_log  /var/log/nginx/dwh_error.log;
   	location / {
           	proxy_pass http://192.168.1.80:8089;
   	        proxy_set_header Host $host;
           	proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   	        proxy_redirect off;
   	}
   }
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org