mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 11:21:22 +00:00
No regex matching for location
This commit is contained in:
parent
9cd2f565ec
commit
3cf248cf15
2 changed files with 2 additions and 4 deletions
|
@ -59,8 +59,7 @@ server {
|
|||
## WARNING: If you are using relative urls remove the block below
|
||||
## See config/application.rb under "Relative url support" for the list of
|
||||
## other files that need to be changed for relative url support
|
||||
location ~ ^/(assets)/ {
|
||||
root /home/huginn/huginn/public;
|
||||
location /assets/ {
|
||||
gzip_static on; # to serve pre-gzipped version
|
||||
expires max;
|
||||
add_header Cache-Control public;
|
||||
|
|
|
@ -108,8 +108,7 @@ server {
|
|||
## WARNING: If you are using relative urls remove the block below
|
||||
## See config/application.rb under "Relative url support" for the list of
|
||||
## other files that need to be changed for relative url support
|
||||
location ~ ^/(assets)/ {
|
||||
root /home/huginn/huginn/public;
|
||||
location /assets/ {
|
||||
gzip_static on; # to serve pre-gzipped version
|
||||
expires max;
|
||||
add_header Cache-Control public;
|
||||
|
|
Loading…
Add table
Reference in a new issue