Files
Kyle FilzandGitHub dd4c67ba5e feat: Support custom CA roots (#1015)
Mount a certificate folder to local ca storage in containers,
and add update command to cron image's entrypoint.

Result of poking and prodding from getsentry/sentry#26851
2021-07-30 18:39:47 +03:00

33 lines
709 B
Nginx Configuration File

user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
server {
listen 443 ssl;
server_name "self.test";
ssl_certificate "/etc/nginx/self.test.crt";
ssl_certificate_key "/etc/nginx/self.test.key";
location / {
add_header Content-Type text/plain;
return 200 'ok';
}
}
server {
listen 443 ssl;
server_name "fake.test";
ssl_certificate "/etc/nginx/fake.test.crt";
ssl_certificate_key "/etc/nginx/fake.test.key";
location / {
add_header Content-Type text/plain;
return 200 'bad';
}
}
}