Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simcaq
Documentation
Commits
67fd1435
Commit
67fd1435
authored
3 years ago
by
Miguel Angelo Salerno
Browse files
Options
Downloads
Patches
Plain Diff
update nginx files
parent
1aa3725f
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
nginx/caqvix
+40
-0
40 additions, 0 deletions
nginx/caqvix
nginx/labdados
+0
-1
0 additions, 1 deletion
nginx/labdados
nginx/simcaq
+5
-3
5 additions, 3 deletions
nginx/simcaq
with
45 additions
and
4 deletions
nginx/caqvix
0 → 100644
+
40
−
0
View file @
67fd1435
upstream caqvix {
server localhost:5070 fail_timeout=0;
}
upstream api_server {
server localhost:3003 fail_timeout=0;
}
server {
listen 80;
server_name caqvix.c3sl.ufpr.br www.caqvix.c3sl.ufpr.br;
return 301 https://caqvix.c3sl.ufpr.br$request_uri;
}
server {
listen 443 ssl;
server_name caqvix.c3sl.ufpr.br www.caqvix.c3sl.ufpr.br;
ssl_certificate /etc/ssl/certs/c3sl.pem;
ssl_certificate_key /etc/ssl/private/c3sl.pem;
location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://caqvix/;
}
location /api/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
# proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://api_server;
proxy_read_timeout 600s;
}
}
This diff is collapsed.
Click to expand it.
nginx/labdados
+
0
−
1
View file @
67fd1435
...
...
@@ -54,4 +54,3 @@ server {
proxy_pass http://mapfor/;
}
}
This diff is collapsed.
Click to expand it.
nginx/simcaq
+
5
−
3
View file @
67fd1435
...
...
@@ -20,7 +20,8 @@ server {
return 301 https://simcaqhom.c3sl.ufpr.br$request_uri;
# descomentar esses para rodar local (sem docker)
# root /home/simcaq/front-end/dist
# o nome da pasta foi renomeado
# root /home/simcaq/front-end-simcaq/dist
# index index.html index.htm;
}
...
...
@@ -31,7 +32,8 @@ server {
ssl_certificate_key /etc/ssl/private/c3sl.pem;
# descomentar esses para rodar local (sem docker)
# root /home/simcaq/front-end/dist;
# o nome da pasta foi renomeado
# root /home/simcaq/front-end-simcaq/dist;
# index index.html index.htm;
# comentar todo esse location para rodar local (sem docker)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment