docker-compose-collection/nginx_reverse+code-server/nginx/conf.d/sites-available/code-server.conf

17 lines
399 B
Plaintext
Raw Normal View History

upstream code-server {
server code-server:8080;
}
server {
listen 443 ssl http2;
server_name code.gbanyan.net;
#include /etc/nginx/conf.d/common.conf;
include /etc/nginx/conf.d/ssl.conf;
include /etc/nginx/conf.d/proxy_code_server.conf;
location / {
proxy_pass http://code-server;
#include /etc/nginx/conf.d/common_location.conf;
}
}