chore: update nginx config
SSL wordt standaard gebruikt
This commit is contained in:
		
							parent
							
								
									38ec0c75ca
								
							
						
					
					
						commit
						0054146188
					
				
					 1 changed files with 11 additions and 12 deletions
				
			
		|  | @ -17,7 +17,6 @@ http { | ||||||
|             proxy_pass http://127.0.0.1:2002/; |             proxy_pass http://127.0.0.1:2002/; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|     listen 80; |  | ||||||
|     listen 443 default_server ssl; # managed by Certbot |     listen 443 default_server ssl; # managed by Certbot | ||||||
|     ssl_certificate /etc/letsencrypt/live/sel2-1.ugent.be/fullchain.pem; # managed by Certbot |     ssl_certificate /etc/letsencrypt/live/sel2-1.ugent.be/fullchain.pem; # managed by Certbot | ||||||
|     ssl_certificate_key /etc/letsencrypt/live/sel2-1.ugent.be/privkey.pem; # managed by Certbot |     ssl_certificate_key /etc/letsencrypt/live/sel2-1.ugent.be/privkey.pem; # managed by Certbot | ||||||
|  | @ -36,15 +35,15 @@ http { | ||||||
| 
 | 
 | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| #    server { |     server { | ||||||
| #    if ($host = sel2-1.ugent.be) { |     if ($host = sel2-1.ugent.be) { | ||||||
| #        return 301 https://$host$request_uri; |         return 301 https://$host$request_uri; | ||||||
| #    } # managed by Certbot |     } # managed by Certbot | ||||||
| # | 
 | ||||||
| # | 
 | ||||||
| #        listen 80; |         listen 80; | ||||||
| #        server_name sel2-1.ugent.be; |         server_name sel2-1.ugent.be; | ||||||
| #    return 404; # managed by Certbot |     return 404; # managed by Certbot | ||||||
| # | 
 | ||||||
| #    } |     } | ||||||
| } | } | ||||||
		Reference in a new issue
	
	 Timo De Meyst
						Timo De Meyst