Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
f7f100a5
Commit
f7f100a5
authored
1 year ago
by
Reinder Kraaij
Browse files
Options
Downloads
Patches
Plain Diff
Tweak rewrite Rule
parent
311cef02
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1337
Tweak rewrite Rule
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SAS/TMSS/deploy/tmss/nginx/default.conf
+13
-8
13 additions, 8 deletions
SAS/TMSS/deploy/tmss/nginx/default.conf
with
13 additions
and
8 deletions
SAS/TMSS/deploy/tmss/nginx/default.conf
+
13
−
8
View file @
f7f100a5
...
...
@@ -23,16 +23,21 @@ server {
access_log
off
;
}
location
/
acc
/ {
rewrite
^/
acc
/(?!((
static
/)|(
manifest
\.
json
)|(
favicon
\.
ico
))).*$ /
index
.
html
break
;
proxy_pass
http
://
monitor
.
control
.
lofar
:
9000
/
tmss
-
frontend
-
web
-
acceptance
/
build
/;
proxy_set_header
Host
tmss
.
lofar
.
eu
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
X
-
Forwarded
-
Proto
$
scheme
;
proxy_pass_header
Server
;
location
/
acc
/ {
rewrite
^/
acc
/(?!((
static
/)|(
manifest
\.
json
)|(
favicon
\.
ico
))).*$ /
build
/
index
.
html
break
;
location
~ ^/
acc
/(
static
/|
manifest
\.
json
|
favicon
\.
ico
) {
rewrite
^/
acc
/(.*)$ /
build
/$
1
break
;
}
proxy_pass
http
://
monitor
.
control
.
lofar
:
9000
/
tmss
-
frontend
-
web
-
acceptance
/;
proxy_set_header
Host
tmss
.
lofar
.
eu
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
X
-
Forwarded
-
Proto
$
scheme
;
proxy_pass_header
Server
;
}
location
@
proxy_to_app
{
proxy_pass
http
://
django
;
...
...
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