24 lines
395 B
Plaintext
24 lines
395 B
Plaintext
|
server {
|
||
|
listen 80;
|
||
|
listen [::]:80;
|
||
|
server_name paul.walko.org;
|
||
|
|
||
|
return 301 https://paul.walko.org$request_uri;
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl;
|
||
|
listen [::]:443 ssl;
|
||
|
server_name paul.walko.org;
|
||
|
|
||
|
# ssl conf
|
||
|
include /config/nginx/ssl.conf;
|
||
|
|
||
|
client_max_body_size 1M;
|
||
|
|
||
|
# Proxy main site
|
||
|
location / {
|
||
|
proxy_pass https://paulwalko.github.io;
|
||
|
}
|
||
|
}
|