Have all resources internally
This commit is contained in:
parent
1d6ba6310c
commit
ebf5519002
3 changed files with 9 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -5,3 +5,5 @@ static/static_root
|
|||
imagebuilder
|
||||
images/
|
||||
static/fa
|
||||
jquery-*.min.js
|
||||
static/bs
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
|
||||
{% load static %}
|
||||
|
||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/bs/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/fa/css/all.css">
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="/js/jquery-3.3.1.min.js"></script>
|
||||
<script src="/bs/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
|
|
|
@ -18,6 +18,10 @@ server {
|
|||
location /fa/ {
|
||||
root /opt/vpnmanager/static/;
|
||||
}
|
||||
|
||||
location /bs/ {
|
||||
root /opt/vpnmanager/static/;
|
||||
}
|
||||
|
||||
location / {
|
||||
uwsgi_pass 127.0.0.1:9360;
|
||||
|
|
Loading…
Reference in a new issue