Compare commits
1 Commits
messa08ec.
...
SRP
Author | SHA1 | Date | |
---|---|---|---|
47222b1d6c |
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,2 @@
|
|||||||
conf/includes/localhost.crt
|
conf/includes/localhost.crt
|
||||||
conf/includes/localhost.key
|
conf/includes/localhost.key
|
||||||
conf/includes/ec-server.key
|
|
||||||
conf/includes/ec-server.crt
|
|
@ -1,12 +1,12 @@
|
|||||||
location ~* .(3gp|apng|avi|avif|bmp|css|cur|flv|gif|htm|html|ico|jfif|jpeg|jpg|js|mid|mov|mp3|mp4|mpeg|mpg|ogg|pdf|php|pjp|pjpeg|png|svg|tif|tiff|txt|wav|webp|wmf|wml|wmv|xml|xml)$ {
|
location ~* .(3gp|apng|avi|avif|bmp|css|cur|flv|gif|htm|html|ico|jfif|jpeg|jpg|js|mid|mov|mp3|mp4|mpeg|mpg|ogg|pdf|php|pjp|pjpeg|png|svg|tif|tiff|txt|wav|webp|wmf|wml|wmv|xml|xml)$ {
|
||||||
expires 1d;
|
expires 1d;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
root "D://Tmp//phares//www";
|
root "C://SAM_2.1.10//Result";
|
||||||
}
|
}
|
||||||
location / {
|
location / {
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
# root /var/www/html/637998119172547651;
|
# root /var/www/html/637998119172547651;
|
||||||
root "D://Tmp//phares//www";
|
root "C://SAM_2.1.10//Result";
|
||||||
# First attempt to serve request as file, then
|
# First attempt to serve request as file, then
|
||||||
autoindex on;
|
autoindex on;
|
||||||
# Send the data in JSON
|
# Send the data in JSON
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
location / {
|
location / {
|
||||||
root "D://www";
|
root "C://SAM_2.1.10//Result";
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
location / {
|
location / {
|
||||||
root "D://wwwroot";
|
root "C://SAM_2.1.10//Result";
|
||||||
try_files $uri $uri/ /index.html =404;
|
try_files $uri $uri/ /index.html =404;
|
||||||
}
|
}
|
@ -8,17 +8,17 @@ http {
|
|||||||
sendfile on;
|
sendfile on;
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
server {
|
server {
|
||||||
# listen 80;
|
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_certificate "includes/ec-server.cer";
|
# ssl_certificate "includes/ec-server.cer";
|
||||||
ssl_certificate "includes/ec-server.crt";
|
# ssl_certificate "includes/ec-server.crt";
|
||||||
ssl_certificate_key "includes/ec-server.key";
|
# ssl_certificate_key "includes/ec-server.key";
|
||||||
ssl_password_file "includes/ec-server.pass";
|
# ssl_password_file "includes/ec-server.pass";
|
||||||
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;
|
||||||
@ -55,52 +55,28 @@ http {
|
|||||||
server_name localhost;
|
server_name localhost;
|
||||||
include "includes/wwwroot.conf";
|
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";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
# mkdir "L:\DevOps\Mesa_FI"
|
# mkdir "L:\DevOps\Mesa_FI"
|
||||||
# cd "L:\DevOps\Mesa_FI"
|
# cd "L:\DevOps\Mesa_FI"
|
||||||
# git clone https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/NGINX-Conf
|
# git clone https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/NGINX-Conf
|
||||||
# -
|
# -
|
||||||
# rmdir /s "C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\conf"
|
# rmdir /s "C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1\conf"
|
||||||
# mklink /J "C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\conf" "L:\DevOps\Mesa_FI\NGINX-Conf\conf"
|
# mklink /J "C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1\conf" "L:\Git\NGINX-Conf\conf"
|
||||||
# -
|
# -
|
||||||
# As administrator
|
# As administrator
|
||||||
# -
|
# -
|
||||||
# cd "C:\Users\phares\AppData\Local\IFXApps\nssm-2.24\win64"
|
# cd "C:\Users\Administrator\AppData\Local\IFXApps\nssm-2.24\win64"
|
||||||
# nssm install "nginx"
|
# nssm install "nginx"
|
||||||
# -
|
# -
|
||||||
# C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\nginx.exe
|
# C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1\nginx.exe
|
||||||
# C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1
|
# C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1
|
||||||
# -
|
# -
|
||||||
# start nginx
|
# start nginx
|
||||||
# C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\logs\service.out.log
|
# C:\Users\Administrator\AppData\Local\IFXApps\nginx-1.20.1\logs\service.out.log
|
||||||
# C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\logs\service.error.log
|
# C:\Users\Administrator\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\pictures" "D:\Documents\Pictures"
|
||||||
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\DevOps\Mesa_FI\NGINdeX.io"
|
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\Git\NGINdeX.io"
|
||||||
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
|
# 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\NGINdeX.io" "L:\DevOps\Mesa_FI\NGINdeX.io"
|
||||||
# -
|
# -
|
||||||
|
Reference in New Issue
Block a user