Some checks failed
Gitea Docker Redeploy / Redploy-App-on-self-via-SSH (push) Failing after 8m11s
31 lines
610 B
Nginx Configuration File
31 lines
610 B
Nginx Configuration File
worker_processes 1;
|
|
pid /tmp/nginx.pid;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
log_format main '$time_iso8601 :: $status :: "$request" :: "$http_user_agent"';
|
|
access_log /dev/stdout main;
|
|
error_log /dev/stderr error;
|
|
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
sendfile on;
|
|
send_timeout 600;
|
|
tcp_nopush on;
|
|
proxy_read_timeout 300;
|
|
|
|
server {
|
|
listen 3000;
|
|
root /usr/share/nginx/html/;
|
|
index index.html index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|
|
}
|