Skip to content

Commit 4cdf6d5

Browse files
committed
Update nginx.conf to use listen ... ssl instead ssl=on.
1 parent 3b8cdfd commit 4cdf6d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/deb/nginx/nginx.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,14 @@ http {
7878

7979
# Vhost
8080
server {
81-
listen 8083;
81+
listen 8083 ssl;
8282
server_name _;
8383
root /usr/local/hestia/web;
8484
charset utf-8;
8585

8686
# Fix error "The plain HTTP request was sent to HTTPS port"
8787
error_page 497 https://$host:$server_port$request_uri;
8888

89-
ssl on;
9089
ssl_certificate /usr/local/hestia/ssl/certificate.crt;
9190
ssl_certificate_key /usr/local/hestia/ssl/certificate.key;
9291
ssl_session_cache shared:SSL:10m;

0 commit comments

Comments
 (0)