mirror of
https://github.com/makeplane/plane.git
synced 2025-12-16 03:47:54 +01:00
29 lines
546 B
Nginx Configuration File
29 lines
546 B
Nginx Configuration File
worker_processes 4;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
|
|
default_type application/octet-stream;
|
|
|
|
set_real_ip_from 0.0.0.0/0;
|
|
real_ip_recursive on;
|
|
real_ip_header X-Forward-For;
|
|
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s;
|
|
|
|
access_log /dev/stdout;
|
|
error_log /dev/stderr;
|
|
|
|
server {
|
|
listen 3000;
|
|
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
index index.html index.htm;
|
|
try_files $uri $uri/ /god-mode/index.html;
|
|
}
|
|
}
|
|
} |