Archive abandoned project

This commit is contained in:
Benoit 2025-02-15 00:56:26 +09:00
parent bc8862d90b
commit 65be894048
501 changed files with 24305 additions and 0 deletions

View file

@ -0,0 +1,36 @@
[server]
hidden_host =
port = 8080
bind = 127.0.0.1
tls_cert_path =
tls_key_path =
templates_parent_dir =
static_parent_dir =
pages_parent_dir =
keys_parent_dir =
[database]
type = mysql
filename =
username = writefreely
password = <%= @database_password %>
database = writefreely
host = localhost
port = 3306
[app]
site_name = <%= @site_name %>
site_description =
host = <%= @host %>
theme = write
disable_js = false
webfonts = true
single_user = <%= @single_user %>
open_registration = false
min_username_len = 3
max_blogs = 1
federation = true
public_stats = true
private = false
local_timeline = false
user_invites =

View file

@ -0,0 +1,19 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name _;
set_real_ip_from <%= node['network']['default_gateway'] %>;
real_ip_header X-Forwarded-For;
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
}
}