argos/conf/nginx.conf
Luc Didry 09a858794d
— Add built-in authentication for human interface
Built-in user management is provided too
2024-06-21 13:40:47 +02:00

23 lines
613 B
Nginx Configuration File

server {
listen 80;
listen [::]:80;
listen 443 http2 ssl;
listen [::]:443 http2 ssl;
server_name argos.example.org;
ssl_certificate /etc/letsencrypt/live/argos.example.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/argos.example.org/privkey.pem;
access_log /var/log/nginx/argos.example.org.access.log;
error_log /var/log/nginx/argos.example.org.error.log;
if ($scheme != "https") {
rewrite ^ https://$http_host$request_uri? permanent;
}
location / {
include proxy_params;
proxy_pass http://127.0.0.1:8000;
}
}