Docker-caching-and-better-slack-notifications (#102)

* test docker caching and slack

* try this

* this _might_ do it

* cleanup

* just realized this is running on self-hosted, so github cache doesn't make sense

* fix logging noise

* cache npm modules during test

* fiskerBot and icon

* quotes (just in case)
This commit is contained in:
Rafi Greenberg
2021-11-05 09:09:04 -07:00
committed by GitHub
parent 16c3e2902b
commit a5902f06b3
4 changed files with 95 additions and 57 deletions

View File

@@ -1,11 +1,41 @@
server {
listen 80;
root /usr/share/nginx/html;
include /etc/nginx/mime.types;
user nginx;
worker_processes auto;
expires 1d;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
location / {
try_files $uri /index.html;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
gzip on;
server {
listen 80;
root /usr/share/nginx/html;
include /etc/nginx/mime.types;
expires 1d;
location / {
try_files $uri /index.html;
}
}
}