Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
redmine_ynh
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
coops
redmine_ynh
Commits
6a12fec9
Unverified
Commit
6a12fec9
authored
Mar 21, 2019
by
liberodark
Committed by
GitHub
Mar 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update nginx.conf
parent
7d437d97
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
17 deletions
+1
-17
nginx.conf
conf/nginx.conf
+1
-17
No files found.
conf/nginx.conf
View file @
6a12fec9
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location
__PATH__/
{
# Path to source
alias
__FINALPATH__/
;
# Force usage of https
if
(
$scheme
=
http)
{
rewrite
^
https://
$server_name$request_uri
?
permanent
;
}
index
index.html
;
# Include SSOWAT user panel.
include
conf.d/yunohost_panel.conf.inc
;
}
location
/pia-back/
{
# Path to source
# alias
/opt/pia-back
/ ;
# alias
__FINALPATH__
/ ;
proxy_pass
http://127.0.0.1:3000/
;
proxy_redirect
off
;
...
...
@@ -30,4 +15,3 @@ location /pia-back/ {
proxy_set_header
Upgrade
$http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment