feat: init

This commit is contained in:
montaghanmy
2023-03-23 11:03:16 +01:00
commit 10fe6f78d1
11518 changed files with 509786 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM nginx:latest
#RUN rm /etc/nginx/nginx.conf /etc/nginx/conf.d/default.conf
COPY . /usr/share/nginx/html/
COPY nginx.conf /etc/nginx
VOLUME /usr/share/nginx/html
VOLUME /etc/nginx
EXPOSE 8080:80
+29
View File
@@ -0,0 +1,29 @@
events {}
http {
server {
listen 80 default_server;
listen [::]:80 default_server;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
location /api {
#proxy_set_header X-Forwarded-Host $host
proxy_pass http://twake_node_1:3000;
}
}
}