Linux_ubuntu_scripts/app.conf

16 lines
274 B
Plaintext
Raw Normal View History

2024-10-14 21:46:55 +00:00
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
}
}