17 lines
399 B
Plaintext
17 lines
399 B
Plaintext
|
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;
|
||
|
}
|
||
|
}
|