Fix
This commit is contained in:
@@ -18,15 +18,13 @@
|
|||||||
|
|
||||||
# Block with default HTTP config that redirects to HTTPS
|
# Block with default HTTP config that redirects to HTTPS
|
||||||
(https-redir) {
|
(https-redir) {
|
||||||
bind *:80 # Listen on port 80 (HTTP)
|
bind 0.0.0.0:80 # Listen on port 80 (HTTP)
|
||||||
protocols h1 h2 # Enable HTTP/1 and HTTP/2
|
|
||||||
redir https://{host}{uri} 308
|
redir https://{host}{uri} 308
|
||||||
}
|
}
|
||||||
|
|
||||||
# Block with default HTTPS config that accepts requests on port 443 (HTTP/1, HTTP/2, and HTTP/3)
|
# Block with default HTTPS config that accepts requests on port 443 (HTTP/1, HTTP/2, and HTTP/3)
|
||||||
(https) {
|
(https) {
|
||||||
bind *:443 # Listen on port 443 (HTTPS)
|
bind 0.0.0.0:443 # Listen on port 443 (HTTPS)
|
||||||
protocols h1 h2 h3 # Enable HTTP/1, HTTP/2, and HTTP/3 (QUIC)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Block with compression configuration.
|
# Block with compression configuration.
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
watch.goofjes.nl {
|
http://watch.goofjes.nl {
|
||||||
|
import https-redir
|
||||||
|
}
|
||||||
|
|
||||||
|
https://watch.goofjes.nl {
|
||||||
import https
|
import https
|
||||||
import compression
|
import compression
|
||||||
import default-headers
|
import default-headers
|
||||||
|
|||||||
Reference in New Issue
Block a user