move /kb path to /knowledge
there's this weird thing that happens with nginx with paths that end in /kb and I don't know why. this at least fixes the problem.
This commit is contained in:
parent
a965eb1aed
commit
f578e219c5
|
@ -14,7 +14,7 @@
|
||||||
<nav id="navbar" class="boxed">
|
<nav id="navbar" class="boxed">
|
||||||
<div id="leftnav">
|
<div id="leftnav">
|
||||||
<a href="/explorer">explorer</a>
|
<a href="/explorer">explorer</a>
|
||||||
<a href="/kb">knowledge</a>
|
<a href="/knowledge">knowledge</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="rightnav">
|
<div id="rightnav">
|
||||||
<a href="/explorer/all">all</a>
|
<a href="/explorer/all">all</a>
|
||||||
|
|
|
@ -3,4 +3,4 @@ title: "Franklin CCE Delegation website"
|
||||||
---
|
---
|
||||||
|
|
||||||
This website contains some materials for the Franklin High School YMCA Center for Civic Engagement delegation.
|
This website contains some materials for the Franklin High School YMCA Center for Civic Engagement delegation.
|
||||||
Specifically, a [bill database](/explorer) and a [collection of helpful articles](/kb) on various things are available here.
|
Specifically, a [bill database](/explorer) and a [collection of helpful articles](/knowledge) on various things are available here.
|
|
@ -4,6 +4,10 @@ upstream franklincce {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
server_name franklincce.beepboop.systems;
|
||||||
|
port_in_redirect off;
|
||||||
|
absolute_redirect off;
|
||||||
|
server_name_in_redirect off;
|
||||||
|
|
||||||
location /explorer/ {
|
location /explorer/ {
|
||||||
proxy_pass http://franklincce;
|
proxy_pass http://franklincce;
|
||||||
|
@ -17,7 +21,7 @@ server {
|
||||||
alias /home/app/web/staticfiles/;
|
alias /home/app/web/staticfiles/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /kb {
|
location /knowledge {
|
||||||
alias /home/app/web/staticfiles/kb;
|
alias /home/app/web/staticfiles/kb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<nav id="navbar" class="boxed">
|
<nav id="navbar" class="boxed">
|
||||||
<div id="leftnav">
|
<div id="leftnav">
|
||||||
<a href="/explorer">explorer</a>
|
<a href="/explorer">explorer</a>
|
||||||
<a href="/kb">knowledge</a>
|
<a href="/knowledge">knowledge</a>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue