mov proxy

This commit is contained in:
Didier Slof 2023-01-31 12:37:35 +01:00
parent 40d013df56
commit 41d8aa1042
Signed by: didier
GPG key ID: 01E71F18AA4398E5
5 changed files with 1 additions and 1 deletions

4
custom/proxy/Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM nginxproxy/nginx-proxy:latest
COPY config/vhost.d/* /etc/nginx/vhost.d/
COPY config/nginx.conf /etc/nginx/nginx.conf

View file

@ -0,0 +1,34 @@
# default config
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 10240;
}
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;
include /etc/nginx/conf.d/*.conf;
}
daemon off;

View file

@ -0,0 +1,10 @@
## Start of configuration add by letsencrypt container
location ^~ /.well-known/acme-challenge/ {
auth_basic off;
auth_request off;
allow all;
root /usr/share/nginx/html;
try_files $uri =404;
break;
}
## End of configuration add by letsencrypt container

View file

@ -0,0 +1,3 @@
location /nginx {
return 200 "Nginx is running!";
}