mestsa02ec.ec.local
# 80, Access-Control-Allow-Origin and pfx to crt and key Add to DevOps flop dex Gogs proxy_set_header X-Forwarded-Proto https; ssl
This commit is contained in:
144
conf/nginx.conf
144
conf/nginx.conf
@ -8,53 +8,117 @@ http {
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
server {
|
||||
listen 5050;
|
||||
server_name localhost;
|
||||
include "includes/html.conf";
|
||||
# listen 80;
|
||||
listen 4443 ssl http2;
|
||||
listen [::]:4443 ssl http2;
|
||||
server_name *.mes.infineon.com;
|
||||
# server_name localhost;
|
||||
# ssl_certificate "includes/localhost.crt";
|
||||
# ssl_certificate_key "includes/localhost.key";
|
||||
# ssl_certificate "includes/ec-server.cer";
|
||||
ssl_certificate "includes/ec-server.crt";
|
||||
ssl_certificate_key "includes/ec-server.key";
|
||||
ssl_password_file "includes/ec-server.pass";
|
||||
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
|
||||
# include "includes/html.conf";
|
||||
# include "includes/BaGet.conf";
|
||||
location / {
|
||||
include "includes/APC-Viewer-Server.conf";
|
||||
}
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
include "includes/html-error.conf";
|
||||
}
|
||||
# server {
|
||||
# listen 4430;
|
||||
# server_name iscn5cg1325c0x.infineon.com;
|
||||
# include "includes/BaGet.conf";
|
||||
# }
|
||||
# server {
|
||||
# listen 5051;
|
||||
# server_name localhost;
|
||||
# include "includes/www.conf";
|
||||
# }
|
||||
# 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 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";
|
||||
# }
|
||||
server {
|
||||
listen 4430;
|
||||
server_name iscn5cg1325c0x.infineon.com;
|
||||
include "includes/BaGet.conf";
|
||||
}
|
||||
server {
|
||||
listen 5051;
|
||||
listen 5001;
|
||||
server_name localhost;
|
||||
include "includes/www.conf";
|
||||
}
|
||||
server {
|
||||
listen 5052;
|
||||
server_name localhost;
|
||||
include "includes/json.conf";
|
||||
}
|
||||
server {
|
||||
listen 5053;
|
||||
server_name localhost;
|
||||
include "includes/ProgramData.conf";
|
||||
}
|
||||
server {
|
||||
listen 8080;
|
||||
server_name ~(oi-metrology-viewer-archive).mes.infineon.com;
|
||||
location / {
|
||||
include "includes/Archive.conf";
|
||||
include "includes/APC-Viewer.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\phares\AppData\Local\IFXApps\nginx-1.20.1\conf" "L:\Git\NGINX-Conf\conf"
|
||||
# cd "C:\Users\ECMESEAF\AppData\Local\IFXApps\nginx-1.20.1"
|
||||
# mkdir "L:\DevOps\Mesa_FI"
|
||||
# cd "L:\DevOps\Mesa_FI"
|
||||
# git clone https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/NGINX-Conf
|
||||
# -
|
||||
# rmdir /s "C:\Users\ECAPCSvc\AppData\Local\IFXApps\nginx-1.20.1\conf"
|
||||
# mklink /J "C:\Users\ECAPCSvc\AppData\Local\IFXApps\nginx-1.20.1\conf" "L:\DevOps\Mesa_FI\NGINX-Conf\conf"
|
||||
# -
|
||||
# As administrator
|
||||
# -
|
||||
# cd "C:\Users\phares\AppData\Local\IFXApps\nssm-2.24\win64"
|
||||
# nssm install "nginx"
|
||||
# -
|
||||
# C:\Users\ECAPCSvc\AppData\Local\IFXApps\nginx-1.20.1\nginx.exe
|
||||
# C:\Users\ECAPCSvc\AppData\Local\IFXApps\nginx-1.20.1
|
||||
# -
|
||||
# start nginx
|
||||
# C:\Users\ECAPCSvc\AppData\Local\IFXApps\nginx-1.20.1\logs\service.out.log
|
||||
# C:\Users\ECAPCSvc\AppData\Local\IFXApps\nginx-1.20.1\logs\service.error.log
|
||||
# -
|
||||
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
|
||||
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\DevOps\Mesa_FI\NGINdeX.io"
|
||||
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
|
||||
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\DevOps\Mesa_FI\NGINdeX.io"
|
||||
# -
|
||||
# ln -s /etc/nginx/sites-available/json /etc/nginx/sites-enabled/
|
||||
# ln -s /srv/samba/share/637998119172547651 /var/www/html/637998119172547651
|
||||
# ln -s /var/www/html/NGINdeX.io /var/www/html/637998119172547651/NGINdeX.io
|
||||
# ln -s /srv/git /var/www/html/637998119172547651/git
|
||||
# -
|
||||
# cd "C:\Users\ECAPCSvc\AppData\Local\IFXApps\nginx-1.20.1"
|
||||
# .\nginx -t
|
||||
# .\nginx -s reload
|
||||
# .\nginx -s reload
|
Reference in New Issue
Block a user