Files
rproxy/roles/rproxy/files/repo.conf
2024-10-03 21:57:39 +03:00

23 lines
597 B
Plaintext

server {
listen 9000 default ssl;
server_name _;
root /repo;
ssl_certificate /etc/nginx/certs/repo.crt;
ssl_certificate_key /etc/nginx/certs/repo.key;
ssl_protocols TLSv1.2;
ssl_ciphers EECDH:+AES256:-3DES:!RSA+AES:!RSA+3DES:!NULL:!RC4;
ssl_prefer_server_ciphers on;
error_page 497 301 =307 https://$host:$server_port$request_uri;
location / {
charset utf-8;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
# auth_basic "Needs to auth";
# auth_basic_user_file /etc/nginx/.htpasswd;
}
}