modif wco www pour caddy
This commit is contained in:
@@ -40,11 +40,11 @@
|
||||
version:0
|
||||
};
|
||||
</script>
|
||||
<script src="/apxtri/node_modules/axios/dist/axios.min.js"></script>
|
||||
<script src="/apxtri/node_modules/dayjs/dayjs.min.js"></script>
|
||||
<script src="/apxtri/node_modules/openpgp/dist/openpgp.min.js"></script>
|
||||
<script src="/apxtri/node_modules/mustache/mustache.min.js"></script>
|
||||
<script src="/apxtri/Checkjson.js"></script>
|
||||
<script src="/apxtrilib/axios/dist/axios.min.js"></script>
|
||||
<script src="/apxtrilib/dayjs/dayjs.min.js"></script>
|
||||
<script src="/apxtrilib/openpgp/dist/openpgp.min.js"></script>
|
||||
<script src="/apxtrilib/mustache/mustache.min.js"></script>
|
||||
<script src="/apxtrilib/checkjson.js"></script>
|
||||
|
||||
<script src="/api/apxtri/wwws/getwco/apx.js?wcotribe=apxtri&tribe=apxtri&xapp=admin&pagename=apxid&code=enjoy"></script>
|
||||
<script src="/api/apxtri/wwws/getwco/simplemobnav.js?wcotribe=apxtri&tribe=apxtri&xapp=admin&pagename=apxid&code=enjoy&tagid=authentification"></script>
|
||||
|
@@ -3,3 +3,7 @@
|
||||
@source "../../../../../../../apxtri/objects/wco/simplemobnav/*.{html,js,mustache}";
|
||||
@source "../../../../../../../apxtri/objects/wco/apxauth/*.{html,js,mustache}";
|
||||
@source "../../../../../../../apxtri/objects/wco/adminskull/*.{html,js,mustache}";
|
||||
@source "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wco/apx/*.{html,js,mustache}";
|
||||
@source "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/admin/src/**/*.{html,js,mustache}";
|
||||
@source "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wco/simplemobnav/*.{html,js,mustache}";
|
||||
@source "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wco/apxauth/*.{html,js,mustache}";
|
||||
|
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"apps": {
|
||||
"http": {
|
||||
"servers": {
|
||||
"static-server": {
|
||||
"listen": [":443"],
|
||||
"routes": [
|
||||
{
|
||||
"match": [
|
||||
{
|
||||
"host": ["apx.apxtri.farm.ants"]
|
||||
}
|
||||
],
|
||||
"handle": [
|
||||
{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/apx/dist"
|
||||
},
|
||||
{
|
||||
"handler": "static_response",
|
||||
"body": "404 - Not Found",
|
||||
"status_code": 404
|
||||
}
|
||||
],
|
||||
"terminal": true
|
||||
}
|
||||
],
|
||||
"tls_connection_policies": [{}]
|
||||
}
|
||||
}
|
||||
},
|
||||
"tls": {
|
||||
"certificates": {
|
||||
"automate": ["apx.apxtri.farm.ants"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"logging": {
|
||||
"logs": {
|
||||
"default": {
|
||||
"level": "INFO",
|
||||
"writer": {
|
||||
"output": "stdout"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"storage": {
|
||||
"module": "file_system",
|
||||
"root": "/var/lib/caddy"
|
||||
}
|
||||
}
|
206
wwws/apx/caddy.apx.apxtri.farm.ants.json
Normal file
206
wwws/apx/caddy.apx.apxtri.farm.ants.json
Normal file
@@ -0,0 +1,206 @@
|
||||
{
|
||||
"apps": {
|
||||
"http": {
|
||||
"servers": {
|
||||
"apx.apxtri.farm.ants": {
|
||||
"listen": [":80",":443"],
|
||||
"routes": [
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/trk/*"]
|
||||
}],
|
||||
"handle": [
|
||||
{
|
||||
"handler": "subroute",
|
||||
"routes": [
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/trk/redirect"]
|
||||
}],
|
||||
"handle": [{
|
||||
"handler": "static_response",
|
||||
"status_code": 301,
|
||||
"headers": {
|
||||
"Location": ["{http.request.uri.query.url}"]
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/trk/*"]
|
||||
}],
|
||||
"handle": [
|
||||
{
|
||||
"handler": "rewrite",
|
||||
"uri": "/{http.request.uri.path_elements.1}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/apxtri/Checkjson.js"]
|
||||
}],
|
||||
"handle": [{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/farm-ants/apxtri/apxtri/models/"
|
||||
}],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/setup.sh"]
|
||||
}],
|
||||
"handle": [{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/adminapi/apxtri/setup/"
|
||||
}],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path_regexp": {
|
||||
"pattern": "^/([^/]+)/(setup.*\\.tar\\.gz)$"
|
||||
}
|
||||
}],
|
||||
"handle": [{
|
||||
"handler": "rewrite",
|
||||
"uri": "/{http.matchers.path_regexp.1}/backups/{http.matchers.path_regexp.2}"
|
||||
},
|
||||
{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/farm-ants/"
|
||||
}],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path_regexp": {
|
||||
"pattern": "/objectimg/(.*)/img/"
|
||||
}
|
||||
}],
|
||||
"handle": [{
|
||||
"handler": "rewrite",
|
||||
"uri": "/{http.matchers.path_regexp.1}"
|
||||
},
|
||||
{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/data/apxtri/objects/"
|
||||
}],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/cdn/*"]
|
||||
}],
|
||||
"handle": [
|
||||
{
|
||||
"handler": "rewrite",
|
||||
"strip_path_prefix": "/cdn"
|
||||
},
|
||||
{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/cdn/"
|
||||
}
|
||||
],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/api/*"]
|
||||
}],
|
||||
"handle": [
|
||||
{
|
||||
"handler": "rewrite",
|
||||
"strip_path_prefix": "/api"
|
||||
},
|
||||
{
|
||||
"handler": "reverse_proxy",
|
||||
"upstreams": [{
|
||||
"dial": "localhost:3021"
|
||||
}]
|
||||
}
|
||||
],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/socket/*"]
|
||||
}],
|
||||
"handle": [{
|
||||
"handler": "reverse_proxy",
|
||||
"upstreams": [{
|
||||
"dial": "127.0.0.1:3031"
|
||||
}],
|
||||
"headers": {
|
||||
"request": {
|
||||
"set": {
|
||||
"Upgrade": ["{http.request.header.Upgrade}"],
|
||||
"Connection": ["upgrade"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/apidoc"]
|
||||
}],
|
||||
"handle": [{
|
||||
"handler": "static_response",
|
||||
"status_code": 301,
|
||||
"headers": {
|
||||
"Location": ["/apidoc/"]
|
||||
}
|
||||
}],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/apidoc/", "/apidoc/*"]
|
||||
}],
|
||||
"handle": [{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/apidoc/",
|
||||
"index_names": ["index.html"]
|
||||
}],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"path": ["/src/*"]
|
||||
}],
|
||||
"handle": [
|
||||
{
|
||||
"handler": "rewrite",
|
||||
"strip_path_prefix": "/src"
|
||||
},
|
||||
{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/apx/src/",
|
||||
"index_names": ["index.html", "index_fr.html", "index_en.html"]
|
||||
}
|
||||
],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [{
|
||||
"host": ["apx.apxtri.farm.ants"]
|
||||
}],
|
||||
"handle": [{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/apx/dist",
|
||||
"index_names": ["index.html", "index_fr.html", "index_en.html"]
|
||||
}],
|
||||
"terminal": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
72
wwws/apx/test.apx.apxtri.farm.ants.json
Normal file
72
wwws/apx/test.apx.apxtri.farm.ants.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"apps": {
|
||||
"http": {
|
||||
"servers": {
|
||||
" ": {
|
||||
"listen": [
|
||||
":80"
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"match": [
|
||||
{
|
||||
"path": [
|
||||
"/src/*"
|
||||
]
|
||||
}
|
||||
],
|
||||
"handle": [
|
||||
{
|
||||
"handler": "rewrite",
|
||||
"strip_path_prefix": "/src"
|
||||
},
|
||||
{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/apx/src/",
|
||||
"index_names": [
|
||||
"index.html",
|
||||
"index_fr.html",
|
||||
"index_en.html"
|
||||
]
|
||||
}
|
||||
],
|
||||
"terminal": true
|
||||
},
|
||||
{
|
||||
"match": [
|
||||
{
|
||||
"host": [
|
||||
"apx.apxtri.farm.ants"
|
||||
]
|
||||
}
|
||||
],
|
||||
"handle": [
|
||||
{
|
||||
"handler": "file_server",
|
||||
"root": "/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/apx/dist",
|
||||
"index_names": [
|
||||
"index.html",
|
||||
"index_fr.html",
|
||||
"index_en.html"
|
||||
]
|
||||
}
|
||||
],
|
||||
"terminal": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"logging": {
|
||||
"logs": {
|
||||
"default": {
|
||||
"level": "DEBUG",
|
||||
"writer": {
|
||||
"output": "file",
|
||||
"filename": "/var/log/caddy/access.log"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
BIN
wwws/apxhtml.zip
BIN
wwws/apxhtml.zip
Binary file not shown.
2
wwws/cdn/lib/axios/dist/axios.min.js
vendored
2
wwws/cdn/lib/axios/dist/axios.min.js
vendored
File diff suppressed because one or more lines are too long
1
wwws/cdn/lib/axios/dist/axios.min.js
vendored
Symbolic link
1
wwws/cdn/lib/axios/dist/axios.min.js
vendored
Symbolic link
@@ -0,0 +1 @@
|
||||
/media/phil/usbfarm/apxtowns/farm-ants/apxtri/node_modules/axios/dist/axios.min.js
|
1
wwws/cdn/lib/checkjson.js
Symbolic link
1
wwws/cdn/lib/checkjson.js
Symbolic link
@@ -0,0 +1 @@
|
||||
/media/phil/usbfarm/apxtowns/farm-ants/apxtri/models/Checkjson.js
|
1
wwws/cdn/lib/dayjs/dayjs.min.js
vendored
1
wwws/cdn/lib/dayjs/dayjs.min.js
vendored
File diff suppressed because one or more lines are too long
1
wwws/cdn/lib/dayjs/dayjs.min.js
vendored
Symbolic link
1
wwws/cdn/lib/dayjs/dayjs.min.js
vendored
Symbolic link
@@ -0,0 +1 @@
|
||||
/media/phil/usbfarm/apxtowns/farm-ants/apxtri/node_modules/dayjs/dayjs.min.js
|
1
wwws/cdn/lib/mustache/mustache.min.js
vendored
1
wwws/cdn/lib/mustache/mustache.min.js
vendored
File diff suppressed because one or more lines are too long
1
wwws/cdn/lib/mustache/mustache.min.js
vendored
Symbolic link
1
wwws/cdn/lib/mustache/mustache.min.js
vendored
Symbolic link
@@ -0,0 +1 @@
|
||||
/media/phil/usbfarm/apxtowns/farm-ants/apxtri/node_modules/mustache/mustache.min.js
|
17
wwws/cdn/lib/openpgp/dist/openpgp.min.js
vendored
17
wwws/cdn/lib/openpgp/dist/openpgp.min.js
vendored
File diff suppressed because one or more lines are too long
1
wwws/cdn/lib/openpgp/dist/openpgp.min.js
vendored
Symbolic link
1
wwws/cdn/lib/openpgp/dist/openpgp.min.js
vendored
Symbolic link
@@ -0,0 +1 @@
|
||||
/media/phil/usbfarm/apxtowns/farm-ants/apxtri/node_modules/openpgp/dist/openpgp.min.js
|
22
wwws/cdn/lib/symlink.json
Normal file
22
wwws/cdn/lib/symlink.json
Normal file
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"pathsrc":"nodePath/apxtri/models/Checkjson.js",
|
||||
"pathdest":"dataPath/apxtri/objects/wwws/cdn/lib/checkjson.js"
|
||||
},
|
||||
{
|
||||
"pathsrc":"nodePath/apxtri/node_modules/axios/dist/axios.min.js",
|
||||
"pathdest":"dataPath/apxtri/objects/wwws/cdn/lib/axios/dist/axios.min.js"
|
||||
},
|
||||
{
|
||||
"pathsrc":"nodePath/apxtri/node_modules/dayjs/dayjs.min.js",
|
||||
"pathdest":"dataPath/apxtri/objects/wwws/cdn/lib/dayjs/dayjs.min.js"
|
||||
},
|
||||
{
|
||||
"pathsrc":"nodePath/apxtri/node_modules/mustache/mustache.min.js",
|
||||
"pathdest":"dataPath/apxtri/objects/wwws/cdn/lib/mustache/mustache.min.js"
|
||||
},
|
||||
{
|
||||
"pathsrc":"nodePath/apxtri/node_modules/openpgp/dist/openpgp.min.js",
|
||||
"pathdest":"dataPath/apxtri/objects/wwws/cdn/lib/openpgp/dist/openpgp.min.js"
|
||||
}
|
||||
]
|
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"website": "admin",
|
||||
"appname": "admin",
|
||||
"dns": [],
|
||||
"commonfiles": [
|
||||
"static/fonts/questrial-regular-webfont.woff2",
|
||||
"static/fonts/Quicksand-Light.woff2",
|
||||
@@ -25,7 +26,11 @@
|
||||
"../../../../../../../apxtri/objects/wwws/admin/src/**/*.{html,js,mustache}",
|
||||
"../../../../../../../apxtri/objects/wco/simplemobnav/*.{html,js,mustache}",
|
||||
"../../../../../../../apxtri/objects/wco/apxauth/*.{html,js,mustache}",
|
||||
"../../../../../../../apxtri/objects/wco/adminskull/*.{html,js,mustache}"
|
||||
"../../../../../../../apxtri/objects/wco/adminskull/*.{html,js,mustache}",
|
||||
"/media/phil/usbfarm/apxtowns/data/apxtri/objects/wco/apx/*.{html,js,mustache}",
|
||||
"/media/phil/usbfarm/apxtowns/data/apxtri/objects/wwws/admin/src/**/*.{html,js,mustache}",
|
||||
"/media/phil/usbfarm/apxtowns/data/apxtri/objects/wco/simplemobnav/*.{html,js,mustache}",
|
||||
"/media/phil/usbfarm/apxtowns/data/apxtri/objects/wco/apxauth/*.{html,js,mustache}"
|
||||
],
|
||||
"pages": {
|
||||
"testapi": {
|
||||
|
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"website": "apxhtml.apxtri.newdev.ants",
|
||||
"appname": "apxhtml",
|
||||
"dns":[],
|
||||
"commonfiles": [
|
||||
"static/fonts/questrial-regular-webfont.woff2",
|
||||
"static/fonts/Quicksand-Light.woff2",
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{
|
||||
{ "appname":"recruiter",
|
||||
"dns": [],
|
||||
"apxtri": {
|
||||
"headers": {
|
||||
|
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"dns": [
|
||||
"app.smatchit.io"
|
||||
],
|
||||
"appname":"smatchapp",
|
||||
"dns": [],
|
||||
"version": "1",
|
||||
"apxtri": {
|
||||
"headers": {
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user