This commit is contained in:
zramsay 2023-03-07 08:52:47 -05:00
parent b31a70cd3a
commit 91ed4fbb95
No known key found for this signature in database
GPG Key ID: FECD2DBFAE9DBE63
5 changed files with 0 additions and 44 deletions

View File

@ -1 +0,0 @@
TODO figure out config

View File

@ -1,2 +0,0 @@
FROM nginx:alpine
COPY ping.conf /etc/nginx/conf.d/default.conf

View File

@ -1,7 +0,0 @@
#!/usr/bin/env bash
# Build cerc/nginx
# See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
docker build -t cerc/nginx:local ${SCRIPT_DIR}

View File

@ -1,33 +0,0 @@
## copied from: https://github.com/gateway-fm/laconic-explorer/blob/master/ping.conf
server {
listen 80;
listen [::]:80;
server_name _;
#access_log /var/log/nginx/host.access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
gzip on;
gzip_proxied any;
gzip_static on;
gzip_min_length 1024;
gzip_buffers 4 16k;
gzip_comp_level 2;
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php application/vnd.ms-fontobject font/ttf font/opentype font/x-woff image/svg+xml;
gzip_vary off;
gzip_disable "MSIE [1-6]\.";
}

View File

@ -25,4 +25,3 @@ cerc/keycloak
cerc/tx-spammer
cerc/builder-gerbil
cerc/laconic-explorer
cerc/nginx