Move external submodules to /lib
This commit is contained in:
parent
c129f45151
commit
e1594d3766
5 changed files with 19 additions and 19 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -1,9 +1,9 @@
|
||||||
[submodule "static/bs"]
|
[submodule "static/bs"]
|
||||||
path = static/bs
|
path = lib/bs
|
||||||
url = https://github.com/twbs/bootstrap
|
url = https://github.com/twbs/bootstrap
|
||||||
[submodule "static/fa"]
|
[submodule "static/fa"]
|
||||||
path = static/fa
|
path = lib/fa
|
||||||
url = https://github.com/FortAwesome/Font-Awesome
|
url = https://github.com/FortAwesome/Font-Awesome
|
||||||
[submodule "static/jq"]
|
[submodule "static/jq"]
|
||||||
path = static/jq
|
path = lib/jq
|
||||||
url = https://github.com/jquery/jquery
|
url = https://github.com/jquery/jquery
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
server {
|
server {
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
index index.html index.htm index.nginx-debian.html;
|
index index.html index.htm index.nginx-debian.html;
|
||||||
server_name admin360.kumi.host; # managed by Certbot
|
server_name admin360.kumi.host; # managed by Certbot
|
||||||
|
|
||||||
location /.well-known/ {
|
location /.well-known/ {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /static {
|
location /static {
|
||||||
alias /opt/vpnmanager/static/static_root/;
|
alias /opt/vpnmanager/static/static_root/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /js/ {
|
location /js/ {
|
||||||
root /opt/vpnmanager/static/;
|
root /opt/vpnmanager/static/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /fa/ {
|
location /fa/ {
|
||||||
root /opt/vpnmanager/static/;
|
root /opt/vpnmanager/lib/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /bs/ {
|
location /bs/ {
|
||||||
root /opt/vpnmanager/static/;
|
root /opt/vpnmanager/lib/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /css/ {
|
location /css/ {
|
||||||
|
@ -28,13 +28,13 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location /jq/ {
|
location /jq/ {
|
||||||
root /opt/vpnmanager/static/;
|
root /opt/vpnmanager/lib/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
uwsgi_pass 127.0.0.1:9360;
|
uwsgi_pass 127.0.0.1:9360;
|
||||||
uwsgi_read_timeout 300;
|
uwsgi_read_timeout 300;
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
listen 136.243.186.63:443 ssl; # managed by Certbot
|
listen 136.243.186.63:443 ssl; # managed by Certbot
|
||||||
|
|
Loading…
Reference in a new issue