mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
16 lines
278 B
Plaintext
16 lines
278 B
Plaintext
server {
|
|
listen 80;
|
|
server_name example.org;
|
|
location / {
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name example.org;
|
|
|
|
location / {
|
|
proxy_pass http://example.org; #for demo purposes
|
|
}
|
|
} |