mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Initial work on Docker support
This commit is contained in:
parent
6df67da3cb
commit
2a959f354c
8 changed files with 169 additions and 18 deletions
44
docker/development/nginx/default.conf
Normal file
44
docker/development/nginx/default.conf
Normal file
|
@ -0,0 +1,44 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name _API_DOMAIN_;
|
||||
|
||||
location / {
|
||||
proxy_pass backend:3000;
|
||||
|
||||
client_max_body_size 200M;
|
||||
}
|
||||
|
||||
ssl_certificate /etc/ssl/certs/api-cert.pem;
|
||||
ssl_certificate_key /etc/ssl/private/api-cert.key;
|
||||
|
||||
ssl_session_timeout 1d;
|
||||
ssl_session_cache shared:MozSSL:10m;
|
||||
ssl_session_tickets off;
|
||||
|
||||
ssl_protocols TLSv1.3;
|
||||
ssl_prefer_server_ciphers off;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name dashboard.dev.zeppelin.gg;
|
||||
|
||||
root /zeppelin/dashboard/dist;
|
||||
|
||||
location / {
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
ssl_certificate /etc/ssl/certs/dashboard-cert.pem;
|
||||
ssl_certificate_key /etc/ssl/private/dashboard-cert.key;
|
||||
|
||||
ssl_session_timeout 1d;
|
||||
ssl_session_cache shared:MozSSL:10m;
|
||||
ssl_session_tickets off;
|
||||
|
||||
ssl_protocols TLSv1.3;
|
||||
ssl_prefer_server_ciphers off;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue