2024-11-27 18:01:10 +01:00
|
|
|
server {
|
2024-11-27 18:29:58 +01:00
|
|
|
listen 443 ssl;
|
|
|
|
listen [::]:443 ssl;
|
|
|
|
|
|
|
|
ssl_certificate /etc/letsencrypt/live/admin.example.com/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/admin.example.com/privkey.pem;
|
|
|
|
include /etc/letsencrypt/options-ssl-nginx.conf;
|
|
|
|
ssl_dhparam /etc/ssl/dhparams.pem;
|
|
|
|
|
|
|
|
server_name admin.example.com;
|
|
|
|
|
|
|
|
root /var/www/synapse-admin;
|
|
|
|
|
|
|
|
access_log /var/log/nginx/admin-access.log;
|
|
|
|
error_log /var/log/nginx/admin-error.log;
|
2024-11-27 18:01:10 +01:00
|
|
|
}
|