code-server

This commit is contained in:
Mike Phares 2023-10-15 11:51:07 -07:00
parent 7867460846
commit d122c6d37d

View File

@ -3,82 +3,34 @@ events {
worker_connections 1024; worker_connections 1024;
} }
http { http {
include "includes/mime.types"; include "includes/mime.types";
default_type application/octet-stream; default_type application/octet-stream;
sendfile on; sendfile on;
keepalive_timeout 65; keepalive_timeout 65;
server { server {
listen 80; listen 443 ssl http2;
listen 443 ssl http2; listen [::]:443 ssl http2;
listen [::]:443 ssl http2; server_name localhost;
server_name localhost; ssl_certificate "includes/localhost.crt";
ssl_certificate "includes/localhost.crt"; ssl_certificate_key "includes/localhost.key";
ssl_certificate_key "includes/localhost.key"; ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
ssl_protocols TLSv1.2 TLSv1.1 TLSv1; # include "includes/html.conf";
# include "includes/html.conf"; include "includes/BaGet.conf";
include "includes/BaGet.conf"; error_page 500 502 503 504 /50x.html;
error_page 500 502 503 504 /50x.html; include "includes/html-error.conf";
include "includes/html-error.conf"; }
} server {
server { listen 80;
listen 4430; listen [::]:80;
server_name iscn5cg1325c0x.infineon.com; server_name localhost;
include "includes/BaGet.conf"; location / {
} proxy_pass http://localhost:8080/;
server { proxy_set_header Host $host;
listen 5051; proxy_set_header Upgrade $http_upgrade;
server_name localhost; proxy_set_header Connection upgrade;
include "includes/www.conf"; proxy_set_header Accept-Encoding gzip;
}
server {
listen 5052;
server_name localhost;
include "includes/dex.conf";
}
server {
listen 5053;
server_name localhost;
include "includes/ProgramData.conf";
}
server {
listen 5054;
server_name localhost;
include "includes/json.conf";
}
server {
listen 5055;
server_name localhost;
include "includes/wwwroot.conf";
}
# server {
# listen 8011;
# server_name localhost;
# include "includes/Gogs.conf";
# }
server {
listen 8011;
server_name localhost;
include "includes/syncthing.conf";
}
server {
listen 8080;
server_name ~(oi-metrology-viewer-archive).mes.infineon.com;
location / {
include "includes/Archive.conf";
}
}
server {
listen 8080;
server_name ~(oi-metrology-viewer-prod).mes.infineon.com;
location / {
include "includes/Viewer.conf";
}
}
server {
listen 8088;
server_name *.mes.infineon.com;
include "includes/EAF-Viewer.Server.conf";
} }
}
} }
# mklink /J "C:\Users\mikep\AppData\Local\PharesApps\nginx-1.20.1\conf" "L:\Git\NGINX-Conf\conf" # mklink /J "C:\Users\mikep\AppData\Local\PharesApps\nginx-1.20.1\conf" "L:\Git\NGINX-Conf\conf"
# cd "C:\Users\ECMESEAF\AppData\Local\IFXApps\nginx-1.20.1" # cd "C:\Users\ECMESEAF\AppData\Local\IFXApps\nginx-1.20.1"