mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-03-13 15:44:26 +08:00
* Update nginx-rebuild.conf * enh: id值判断兼容性 * THROTTLED_LOCK * 3.2.1 * fix: 分组字段关联 * fix: 项目评论跳转 * fix: better NoRecord * better * entities sheet * chart decimalType * fix: 0 in calcFormulaValues * fix: checkRecordFilter * enh: chart decimalType * Update @rbv --------- Co-authored-by: devezhao <zhaofang123@gmail.com>
23 lines
698 B
Text
23 lines
698 B
Text
# include nginx-rebuild.conf;
|
|
server {
|
|
server_name YOUR_DOMAIN;
|
|
listen 80;
|
|
# HTTPS
|
|
#listen 443 ssl http2;
|
|
#ssl_certificate /path/to/ssl.crt;
|
|
#ssl_certificate_key /path/to/ssl.key;
|
|
# PROXY
|
|
proxy_redirect http:// $scheme://;
|
|
proxy_set_header Host $host;
|
|
#proxy_set_header Host $host:$server_port;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
location / {
|
|
proxy_pass http://127.0.0.1:18080;
|
|
etag on;
|
|
}
|
|
location /assets {
|
|
proxy_pass http://127.0.0.1:18080/assets;
|
|
expires 90d;
|
|
}
|
|
}
|