AB
Size: a a a
AB
AB
GH
GH
server {
listen 0.0.0.0:80 default;
location = /index.html {
expires -1;
index index.html;
root /usr/share/nginx/html;
}
location / {
expires max;
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://moira-api.collectd:8081;
proxy_set_header X-WebAuth-User $remote_user;
}
}
/etc/nginx/conf.d/default.conf
. Profit!web2.0/docker/entrypoint.sh
. Dockerfile с таким entrypoint я не обнаружил, но идея грязного хака как раз таки из этого скрипта и вытекает). Такие дела.T
server {
listen 0.0.0.0:80 default;
location = /index.html {
expires -1;
index index.html;
root /usr/share/nginx/html;
}
location / {
expires max;
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://moira-api.collectd:8081;
proxy_set_header X-WebAuth-User $remote_user;
}
}
/etc/nginx/conf.d/default.conf
. Profit!web2.0/docker/entrypoint.sh
. Dockerfile с таким entrypoint я не обнаружил, но идея грязного хака как раз таки из этого скрипта и вытекает). Такие дела.AK
ВК
Post failed: Post https://api.telegram.org/bot{ID}/getChat: x509: certificate is not valid for any names, but wanted to match api.telegram.org
AB
AB
ВК
AB
ВК
ВК
AB
AK
ВК
ДУ