Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
3226778d
Commit
3226778d
authored
Nov 06, 2018
by
Lukas Burgey
Browse files
Fix admin path in nginx conf
parent
c8ee8d4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
example-config/etc/nginx/conf.d/feudal.conf
View file @
3226778d
...
...
@@ -52,14 +52,18 @@ server {
root
/
home
/
feudal
/
feudalWebpage
/
dist
;
index
index
.
html
;
location
~* \.(?:
ico
|
css
|
js
|
gif
|
jpe
?
g
|
png
)$ {
location
= /
favicon
.
ico
{
root
/
home
/
feudal
/
feudalWebpage
/
dist
/
assets
/
favicon
/;
expires
30
d
;
add_header
Pragma
public
;
add_header
Cache
-
Control
"public"
;
}
location
/
backend
/
static
{
alias
/
home
/
feudal
/
feudalBackend
/
static
;
location
^~ /
backend
/
static
/ {
alias
/
home
/
feudal
/
feudalBackend
/
static
/;
expires
30
d
;
add_header
Pragma
public
;
add_header
Cache
-
Control
"public"
;
}
location
/
rest
{
...
...
@@ -88,5 +92,11 @@ server {
}
rewrite
"^$"
/
frontend
;
}
location
~* \.(?:
ico
|
css
|
js
|
gif
|
jpe
?
g
|
png
)$ {
expires
30
d
;
add_header
Pragma
public
;
add_header
Cache
-
Control
"public"
;
}
}
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