30 lines
563 B
Nginx Configuration File
30 lines
563 B
Nginx Configuration File
# Minimal nginx configuration for AppFlowy-Cloud
|
|
# Self Hosted AppFlowy Cloud user should alter this file to suit their needs
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
server {
|
|
ssl_certificate /etc/nginx/ssl/certificate.crt;
|
|
ssl_certificate_key /etc/nginx/ssl/private_key.key;
|
|
|
|
listen 443 ssl;
|
|
location / {
|
|
proxy_pass http://appflowy_cloud:8000;
|
|
}
|
|
}
|
|
|
|
server {
|
|
ssl_certificate /etc/nginx/ssl/certificate.crt;
|
|
ssl_certificate_key /etc/nginx/ssl/private_key.key;
|
|
|
|
listen 9997 ssl;
|
|
location / {
|
|
proxy_pass http://gotrue:9999;
|
|
}
|
|
}
|
|
|
|
}
|