feat: first commit

This commit is contained in:
2025-01-30 10:33:58 +01:00
commit a2ddd7d76f
2 changed files with 23 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM harshitbudhraja/tor-nginx-proxy
LABEL name="custom-tor-nginx-proxy"
LABEL version="1.0.1"
LABEL maintainer="patate"
COPY default.conf /etc/nginx/conf.d/default.conf
RUN nginx -t
EXPOSE 80

12
default.conf Normal file
View File

@@ -0,0 +1,12 @@
server {
listen ${NGINX_PORT};
location / {
proxy_pass ${NGINX_PROXY_URL};
proxy_set_header Host patate.dev;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Accept-Encoding gzip;
}
}