Move external submodules to /lib

This commit is contained in:
Kumi 2019-01-17 20:15:40 +01:00
parent c129f45151
commit e1594d3766
5 changed files with 19 additions and 19 deletions

6
.gitmodules vendored
View file

@ -1,9 +1,9 @@
[submodule "static/bs"]
path = static/bs
path = lib/bs
url = https://github.com/twbs/bootstrap
[submodule "static/fa"]
path = static/fa
path = lib/fa
url = https://github.com/FortAwesome/Font-Awesome
[submodule "static/jq"]
path = static/jq
path = lib/jq
url = https://github.com/jquery/jquery

View file

View file

View file

View file

@ -1,26 +1,26 @@
server {
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name admin360.kumi.host; # managed by Certbot
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name admin360.kumi.host; # managed by Certbot
location /.well-known/ {
try_files $uri $uri/ =404;
}
location /.well-known/ {
try_files $uri $uri/ =404;
}
location /static {
alias /opt/vpnmanager/static/static_root/;
alias /opt/vpnmanager/static/static_root/;
}
location /js/ {
root /opt/vpnmanager/static/;
root /opt/vpnmanager/static/;
}
location /fa/ {
root /opt/vpnmanager/static/;
root /opt/vpnmanager/lib/;
}
location /bs/ {
root /opt/vpnmanager/static/;
root /opt/vpnmanager/lib/;
}
location /css/ {
@ -28,14 +28,14 @@ server {
}
location /jq/ {
root /opt/vpnmanager/static/;
root /opt/vpnmanager/lib/;
}
location / {
uwsgi_pass 127.0.0.1:9360;
uwsgi_read_timeout 300;
include uwsgi_params;
}
uwsgi_pass 127.0.0.1:9360;
uwsgi_read_timeout 300;
include uwsgi_params;
}
listen 136.243.186.63:443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/admin360.kumi.host/fullchain.pem; # managed by Certbot