mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 09:57:20 +01:00
8598f323d9
Signed-off-by: d9pouces <github@19pouces.net>
21 lines
453 B
Plaintext
21 lines
453 B
Plaintext
server {
|
|
listen 8443 ssl default_server;
|
|
server_name _;
|
|
|
|
ssl_certificate /etc/nginx/certs/repo-server.crt.pem;
|
|
ssl_certificate_key /etc/nginx/certs/repo-server.key.pem;
|
|
|
|
root /srv;
|
|
autoindex off;
|
|
}
|
|
|
|
# Plain-HTTP listener, for the module-*-http tox envs that verify id-configurator
|
|
# correctly configures a non-HTTPS repository.
|
|
server {
|
|
listen 8080 default_server;
|
|
server_name _;
|
|
|
|
root /srv;
|
|
autoindex off;
|
|
}
|