#config — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #config, aggregated by home.social.
-
xdg-ninja: Modernize your Linux environment by moving config files into $HOME/.config where you can
https://github.com/b3nj5m1n/xdg-ninja
#customization #commandline #config #linux #shell #xdg #+ -
I have the mismash second subnet all hooked up and working electrically, opnsense, deb server and a laptop machine - i will try pxe booting various images and also install polarproxy - although it should be at the edge that is fine, I really want to try the yacy proxy so it spiders all the sites you go to, in combo with squid proxy or ip2/tor proxy or proxychains - then it gets more interesting - just to have options on how you process traffic #forward and reverse proxies #config files
-
I have the mismash second subnet all hooked up and working electrically, opnsense, deb server and a laptop machine - i will try pxe booting various images and also install polarproxy - although it should be at the edge that is fine, I really want to try the yacy proxy so it spiders all the sites you go to, in combo with squid proxy or ip2/tor proxy or proxychains - then it gets more interesting - just to have options on how you process traffic #forward and reverse proxies #config files
-
I have the mismash second subnet all hooked up and working electrically, opnsense, deb server and a laptop machine - i will try pxe booting various images and also install polarproxy - although it should be at the edge that is fine, I really want to try the yacy proxy so it spiders all the sites you go to, in combo with squid proxy or ip2/tor proxy or proxychains - then it gets more interesting - just to have options on how you process traffic #forward and reverse proxies #config files
-
I have the mismash second subnet all hooked up and working electrically, opnsense, deb server and a laptop machine - i will try pxe booting various images and also install polarproxy - although it should be at the edge that is fine, I really want to try the yacy proxy so it spiders all the sites you go to, in combo with squid proxy or ip2/tor proxy or proxychains - then it gets more interesting - just to have options on how you process traffic #forward and reverse proxies #config files
-
We can create TUIs from JSON schemas now 🤝
🧩 **schemaui** — Turn JSON Schema into interactive TUI
💯 Edit configs with real-time validation, sections, overlays & multi-format I/O
🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: https://github.com/YuniqueUnic/schemaui
#rustlang #ratatui #tui #cli #json #schema #devtools #config #terminal
-
We can create TUIs from JSON schemas now 🤝
🧩 **schemaui** — Turn JSON Schema into interactive TUI
💯 Edit configs with real-time validation, sections, overlays & multi-format I/O
🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: https://github.com/YuniqueUnic/schemaui
#rustlang #ratatui #tui #cli #json #schema #devtools #config #terminal
-
We can create TUIs from JSON schemas now 🤝
🧩 **schemaui** — Turn JSON Schema into interactive TUI
💯 Edit configs with real-time validation, sections, overlays & multi-format I/O
🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: https://github.com/YuniqueUnic/schemaui
#rustlang #ratatui #tui #cli #json #schema #devtools #config #terminal
-
We can create TUIs from JSON schemas now 🤝
🧩 **schemaui** — Turn JSON Schema into interactive TUI
💯 Edit configs with real-time validation, sections, overlays & multi-format I/O
🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: https://github.com/YuniqueUnic/schemaui
#rustlang #ratatui #tui #cli #json #schema #devtools #config #terminal
-
We can create TUIs from JSON schemas now 🤝
🧩 **schemaui** — Turn JSON Schema into interactive TUI
💯 Edit configs with real-time validation, sections, overlays & multi-format I/O
🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: https://github.com/YuniqueUnic/schemaui
#rustlang #ratatui #tui #cli #json #schema #devtools #config #terminal
-
Anatomy of the .claude/ Folder - by Avi Chawla
"A complete guide to CLAUDE.md, custom commands, skills, agents, and permissions, and how to set them up properly."
Link: https://blog.dailydoseofds.com/p/anatomy-of-the-claude-folder
-
Anatomy of the .claude/ Folder - by Avi Chawla
"A complete guide to CLAUDE.md, custom commands, skills, agents, and permissions, and how to set them up properly."
Link: https://blog.dailydoseofds.com/p/anatomy-of-the-claude-folder
-
#SoftwareDeveloper - Do not put state information in the #config files. Some people use #configurationmanagment software to manage application setting across multiple machines. The fact you decide to store the windows position / size inside the config file(s) often breaks many configuration software or makes it a bear to manage it.
-
I also managed to fix my dovecot config on my server this morning, and Watchtower is now able to send email notifications again.
#selfhosting #dovecot #linux #watchtower #config #homeserver #server
-
Released version 1.0.1 of my #Native #Image #Config transformer plugin for the #Maven #Shade plugin that also deals with types defined in reachability-metadata-schema-v1.2.0.json format:
https://codeberg.org/michael-simons/native-image-config-transformer
Useful if you need to shade some stuff in your projects that comes with #GraalVM config settings.
-
Released version 1.0.1 of my #Native #Image #Config transformer plugin for the #Maven #Shade plugin that also deals with types defined in reachability-metadata-schema-v1.2.0.json format:
https://codeberg.org/michael-simons/native-image-config-transformer
Useful if you need to shade some stuff in your projects that comes with #GraalVM config settings.
-
Released version 1.0.1 of my #Native #Image #Config transformer plugin for the #Maven #Shade plugin that also deals with types defined in reachability-metadata-schema-v1.2.0.json format:
https://codeberg.org/michael-simons/native-image-config-transformer
Useful if you need to shade some stuff in your projects that comes with #GraalVM config settings.
-
Released version 1.0.1 of my #Native #Image #Config transformer plugin for the #Maven #Shade plugin that also deals with types defined in reachability-metadata-schema-v1.2.0.json format:
https://codeberg.org/michael-simons/native-image-config-transformer
Useful if you need to shade some stuff in your projects that comes with #GraalVM config settings.
-
Released version 1.0.1 of my #Native #Image #Config transformer plugin for the #Maven #Shade plugin that also deals with types defined in reachability-metadata-schema-v1.2.0.json format:
https://codeberg.org/michael-simons/native-image-config-transformer
Useful if you need to shade some stuff in your projects that comes with #GraalVM config settings.
-
Phantom – Open-source AI agent on its own VM that rewrites its config
https://github.com/ghostwright/phantom
#HackerNews #Phantom #Open-source #AI #agent #VM #config #rewrite #AItech #OpenSource
-
Phantom – Open-source AI agent on its own VM that rewrites its config
https://github.com/ghostwright/phantom
#HackerNews #Phantom #Open-source #AI #agent #VM #config #rewrite #AItech #OpenSource
-
Phantom – Open-source AI agent on its own VM that rewrites its config
https://github.com/ghostwright/phantom
#HackerNews #Phantom #Open-source #AI #agent #VM #config #rewrite #AItech #OpenSource
-
Phantom – Open-source AI agent on its own VM that rewrites its config
https://github.com/ghostwright/phantom
#HackerNews #Phantom #Open-source #AI #agent #VM #config #rewrite #AItech #OpenSource
-
I installed two terminals that I see a lot of on the web: Kitty and Ghostty, today I wrote a small little config file to get started with Kitty. As one of my favorite colors is orange and fonts Lucida Console (as it's readable) I began with assigning those basic things to my Kitty config file.
I need to get comfortable with config files again, as eventually it will be an essential part of my life. I do plan on going to a Systemd free NixOS, FreeBSD, or a few other options that have cropped up.
As my laundry is nearly done (comforter is in the dryer for a long dry cycle) this is a perfect little diversion to delay my boredom.
The website for further customization is:
-
I installed two terminals that I see a lot of on the web: Kitty and Ghostty, today I wrote a small little config file to get started with Kitty. As one of my favorite colors is orange and fonts Lucida Console (as it's readable) I began with assigning those basic things to my Kitty config file.
I need to get comfortable with config files again, as eventually it will be an essential part of my life. I do plan on going to a Systemd free NixOS, FreeBSD, or a few other options that have cropped up.
As my laundry is nearly done (comforter is in the dryer for a long dry cycle) this is a perfect little diversion to delay my boredom.
The website for further customization is:
-
I installed two terminals that I see a lot of on the web: Kitty and Ghostty, today I wrote a small little config file to get started with Kitty. As one of my favorite colors is orange and fonts Lucida Console (as it's readable) I began with assigning those basic things to my Kitty config file.
I need to get comfortable with config files again, as eventually it will be an essential part of my life. I do plan on going to a Systemd free NixOS, FreeBSD, or a few other options that have cropped up.
As my laundry is nearly done (comforter is in the dryer for a long dry cycle) this is a perfect little diversion to delay my boredom.
The website for further customization is:
-
Setting up #AppFlowy on #YunoHost shouldn't be this damn difficult but so far I've had to add a bunch of directives to the #nginx #config just to get it to work! But if anybody is interested, here is the config that works. I can login and sync my workspace between my local application and the self-hosted #cloud. YMMV.
root@ynh01:/var/log/nginx# cat /etc/nginx/conf.d/REDACTED.d/appflowy.conf #sub_path_only rewrite ^/$ / permanent; # GoTrue location /gotrue/ { proxy_pass http://127.0.0.1:9999; include proxy_params_no_auth; rewrite ^/gotrue(/.*)$ $1 break; # Allow headers like redirect_to to be handed over to the gotrue # for correct redirecting proxy_pass_request_headers on; } # WebSocket location /ws { proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_read_timeout 86400; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } # AppFlowy-Cloud # created a separate location block for handling CORS preflight (OPTIONS) requests specifically for the /api endpoint. location = /api/options { if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin"; } # Force bypass YunoHost SSO access_by_lua_block { return; } more_set_headers "Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE, PATCH"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Client-Version"; more_set_headers "Access-Control-Max-Age: 3600"; more_set_headers "Content-Type: text/plain; charset=utf-8"; more_set_headers "Content-Length: 0"; return 204; } location /api/chat { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; chunked_transfer_encoding on; proxy_buffering off; proxy_cache off; proxy_read_timeout 600s; proxy_connect_timeout 600s; proxy_send_timeout 600s; } location /api/health { access_by_lua_block { return; } # Adding the trailing slash after the port forces Nginx to map # /api/health directly to / on the backend proxy_pass http://127.0.0.1:8000/health; include proxy_params_no_auth; } location /api/import { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; # Set headers proxy_set_header X-Request-Id $request_id; # Handle CORS if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin always"; } more_set_headers "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept"; more_set_headers "Access-Control-Max-Age: 3600"; # Timeouts proxy_read_timeout 600s; proxy_connect_timeout 600s; proxy_send_timeout 600s; # Disable buffering for large file uploads proxy_request_buffering off; proxy_buffering off; proxy_cache off; client_max_body_size 2G; } location /api { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_set_header X-Request-Id $request_id; # Set CORS headers for other requests if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin"; } more_set_headers "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Client-Version"; more_set_headers "Access-Control-Max-Age: 3600"; location ~* ^/api/workspace/([a-zA-Z0-9_-]+)/publish$ { proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_request_buffering off; client_max_body_size 256M; } } # AppFlowy AI location /ai { proxy_pass http://127.0.0.1:5001; include proxy_params_no_auth; proxy_pass_request_headers on; } # Minio Web UI # Derive from: https://min.io/docs/minio/linux/integrations/setup-nginx-proxy-with-minio.html # Optional Module, comment this section if are did not deploy minio in docker-compose.yml location /minio/ { proxy_pass http://localhost:9001; include proxy_params_no_auth; rewrite ^/minio/(.*) /$1 break; proxy_set_header X-NginX-Proxy true; ## This is necessary to pass the correct IP to be hashed real_ip_header X-Real-IP; proxy_connect_timeout 300; ## To support websockets in MinIO versions released after January 2023 # Some environments may encounter CORS errors (Kubernetes + Nginx Ingress) # Uncomment the following line to set the Origin request to an empty string # proxy_set_header Origin ''; chunked_transfer_encoding off; } # Admin Frontend # Optional Module, comment this section if you are did not deploy admin_frontend in docker-compose.yml location /console { proxy_pass http://localhost:3000; include proxy_params_no_auth; } location /health { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; } # AppFlowy Web location / { proxy_pass http://localhost:3001; include proxy_params_no_auth; } root@ynh01:/var/log/nginx# -
Setting up #AppFlowy on #YunoHost shouldn't be this damn difficult but so far I've had to add a bunch of directives to the #nginx #config just to get it to work! But if anybody is interested, here is the config that works. I can login and sync my workspace between my local application and the self-hosted #cloud. YMMV.
root@ynh01:/var/log/nginx# cat /etc/nginx/conf.d/REDACTED.d/appflowy.conf #sub_path_only rewrite ^/$ / permanent; # GoTrue location /gotrue/ { proxy_pass http://127.0.0.1:9999; include proxy_params_no_auth; rewrite ^/gotrue(/.*)$ $1 break; # Allow headers like redirect_to to be handed over to the gotrue # for correct redirecting proxy_pass_request_headers on; } # WebSocket location /ws { proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_read_timeout 86400; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } # AppFlowy-Cloud # created a separate location block for handling CORS preflight (OPTIONS) requests specifically for the /api endpoint. location = /api/options { if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin"; } # Force bypass YunoHost SSO access_by_lua_block { return; } more_set_headers "Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE, PATCH"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Client-Version"; more_set_headers "Access-Control-Max-Age: 3600"; more_set_headers "Content-Type: text/plain; charset=utf-8"; more_set_headers "Content-Length: 0"; return 204; } location /api/chat { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; chunked_transfer_encoding on; proxy_buffering off; proxy_cache off; proxy_read_timeout 600s; proxy_connect_timeout 600s; proxy_send_timeout 600s; } location /api/health { access_by_lua_block { return; } # Adding the trailing slash after the port forces Nginx to map # /api/health directly to / on the backend proxy_pass http://127.0.0.1:8000/health; include proxy_params_no_auth; } location /api/import { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; # Set headers proxy_set_header X-Request-Id $request_id; # Handle CORS if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin always"; } more_set_headers "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept"; more_set_headers "Access-Control-Max-Age: 3600"; # Timeouts proxy_read_timeout 600s; proxy_connect_timeout 600s; proxy_send_timeout 600s; # Disable buffering for large file uploads proxy_request_buffering off; proxy_buffering off; proxy_cache off; client_max_body_size 2G; } location /api { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_set_header X-Request-Id $request_id; # Set CORS headers for other requests if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin"; } more_set_headers "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Client-Version"; more_set_headers "Access-Control-Max-Age: 3600"; location ~* ^/api/workspace/([a-zA-Z0-9_-]+)/publish$ { proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_request_buffering off; client_max_body_size 256M; } } # AppFlowy AI location /ai { proxy_pass http://127.0.0.1:5001; include proxy_params_no_auth; proxy_pass_request_headers on; } # Minio Web UI # Derive from: https://min.io/docs/minio/linux/integrations/setup-nginx-proxy-with-minio.html # Optional Module, comment this section if are did not deploy minio in docker-compose.yml location /minio/ { proxy_pass http://localhost:9001; include proxy_params_no_auth; rewrite ^/minio/(.*) /$1 break; proxy_set_header X-NginX-Proxy true; ## This is necessary to pass the correct IP to be hashed real_ip_header X-Real-IP; proxy_connect_timeout 300; ## To support websockets in MinIO versions released after January 2023 # Some environments may encounter CORS errors (Kubernetes + Nginx Ingress) # Uncomment the following line to set the Origin request to an empty string # proxy_set_header Origin ''; chunked_transfer_encoding off; } # Admin Frontend # Optional Module, comment this section if you are did not deploy admin_frontend in docker-compose.yml location /console { proxy_pass http://localhost:3000; include proxy_params_no_auth; } location /health { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; } # AppFlowy Web location / { proxy_pass http://localhost:3001; include proxy_params_no_auth; } root@ynh01:/var/log/nginx# -
Setting up #AppFlowy on #YunoHost shouldn't be this damn difficult but so far I've had to add a bunch of directives to the #nginx #config just to get it to work! But if anybody is interested, here is the config that works. I can login and sync my workspace between my local application and the self-hosted #cloud. YMMV.
root@ynh01:/var/log/nginx# cat /etc/nginx/conf.d/REDACTED.d/appflowy.conf #sub_path_only rewrite ^/$ / permanent; # GoTrue location /gotrue/ { proxy_pass http://127.0.0.1:9999; include proxy_params_no_auth; rewrite ^/gotrue(/.*)$ $1 break; # Allow headers like redirect_to to be handed over to the gotrue # for correct redirecting proxy_pass_request_headers on; } # WebSocket location /ws { proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_read_timeout 86400; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } # AppFlowy-Cloud # created a separate location block for handling CORS preflight (OPTIONS) requests specifically for the /api endpoint. location = /api/options { if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin"; } # Force bypass YunoHost SSO access_by_lua_block { return; } more_set_headers "Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE, PATCH"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Client-Version"; more_set_headers "Access-Control-Max-Age: 3600"; more_set_headers "Content-Type: text/plain; charset=utf-8"; more_set_headers "Content-Length: 0"; return 204; } location /api/chat { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; chunked_transfer_encoding on; proxy_buffering off; proxy_cache off; proxy_read_timeout 600s; proxy_connect_timeout 600s; proxy_send_timeout 600s; } location /api/health { access_by_lua_block { return; } # Adding the trailing slash after the port forces Nginx to map # /api/health directly to / on the backend proxy_pass http://127.0.0.1:8000/health; include proxy_params_no_auth; } location /api/import { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; # Set headers proxy_set_header X-Request-Id $request_id; # Handle CORS if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin always"; } more_set_headers "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept"; more_set_headers "Access-Control-Max-Age: 3600"; # Timeouts proxy_read_timeout 600s; proxy_connect_timeout 600s; proxy_send_timeout 600s; # Disable buffering for large file uploads proxy_request_buffering off; proxy_buffering off; proxy_cache off; client_max_body_size 2G; } location /api { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_set_header X-Request-Id $request_id; # Set CORS headers for other requests if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin"; } more_set_headers "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Client-Version"; more_set_headers "Access-Control-Max-Age: 3600"; location ~* ^/api/workspace/([a-zA-Z0-9_-]+)/publish$ { proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_request_buffering off; client_max_body_size 256M; } } # AppFlowy AI location /ai { proxy_pass http://127.0.0.1:5001; include proxy_params_no_auth; proxy_pass_request_headers on; } # Minio Web UI # Derive from: https://min.io/docs/minio/linux/integrations/setup-nginx-proxy-with-minio.html # Optional Module, comment this section if are did not deploy minio in docker-compose.yml location /minio/ { proxy_pass http://localhost:9001; include proxy_params_no_auth; rewrite ^/minio/(.*) /$1 break; proxy_set_header X-NginX-Proxy true; ## This is necessary to pass the correct IP to be hashed real_ip_header X-Real-IP; proxy_connect_timeout 300; ## To support websockets in MinIO versions released after January 2023 # Some environments may encounter CORS errors (Kubernetes + Nginx Ingress) # Uncomment the following line to set the Origin request to an empty string # proxy_set_header Origin ''; chunked_transfer_encoding off; } # Admin Frontend # Optional Module, comment this section if you are did not deploy admin_frontend in docker-compose.yml location /console { proxy_pass http://localhost:3000; include proxy_params_no_auth; } location /health { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; } # AppFlowy Web location / { proxy_pass http://localhost:3001; include proxy_params_no_auth; } root@ynh01:/var/log/nginx# -
Setting up #AppFlowy on #YunoHost shouldn't be this damn difficult but so far I've had to add a bunch of directives to the #nginx #config just to get it to work! But if anybody is interested, here is the config that works. I can login and sync my workspace between my local application and the self-hosted #cloud. YMMV.
root@ynh01:/var/log/nginx# cat /etc/nginx/conf.d/REDACTED.d/appflowy.conf #sub_path_only rewrite ^/$ / permanent; # GoTrue location /gotrue/ { proxy_pass http://127.0.0.1:9999; include proxy_params_no_auth; rewrite ^/gotrue(/.*)$ $1 break; # Allow headers like redirect_to to be handed over to the gotrue # for correct redirecting proxy_pass_request_headers on; } # WebSocket location /ws { proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_read_timeout 86400; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } # AppFlowy-Cloud # created a separate location block for handling CORS preflight (OPTIONS) requests specifically for the /api endpoint. location = /api/options { if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin"; } # Force bypass YunoHost SSO access_by_lua_block { return; } more_set_headers "Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE, PATCH"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Client-Version"; more_set_headers "Access-Control-Max-Age: 3600"; more_set_headers "Content-Type: text/plain; charset=utf-8"; more_set_headers "Content-Length: 0"; return 204; } location /api/chat { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; chunked_transfer_encoding on; proxy_buffering off; proxy_cache off; proxy_read_timeout 600s; proxy_connect_timeout 600s; proxy_send_timeout 600s; } location /api/health { access_by_lua_block { return; } # Adding the trailing slash after the port forces Nginx to map # /api/health directly to / on the backend proxy_pass http://127.0.0.1:8000/health; include proxy_params_no_auth; } location /api/import { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; # Set headers proxy_set_header X-Request-Id $request_id; # Handle CORS if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin always"; } more_set_headers "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept"; more_set_headers "Access-Control-Max-Age: 3600"; # Timeouts proxy_read_timeout 600s; proxy_connect_timeout 600s; proxy_send_timeout 600s; # Disable buffering for large file uploads proxy_request_buffering off; proxy_buffering off; proxy_cache off; client_max_body_size 2G; } location /api { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_set_header X-Request-Id $request_id; # Set CORS headers for other requests if ($http_origin ~* (http://127.0.0.1:3000)) { more_set_headers "Access-Control-Allow-Origin: $http_origin"; } more_set_headers "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH"; more_set_headers "Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Client-Version"; more_set_headers "Access-Control-Max-Age: 3600"; location ~* ^/api/workspace/([a-zA-Z0-9_-]+)/publish$ { proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; proxy_request_buffering off; client_max_body_size 256M; } } # AppFlowy AI location /ai { proxy_pass http://127.0.0.1:5001; include proxy_params_no_auth; proxy_pass_request_headers on; } # Minio Web UI # Derive from: https://min.io/docs/minio/linux/integrations/setup-nginx-proxy-with-minio.html # Optional Module, comment this section if are did not deploy minio in docker-compose.yml location /minio/ { proxy_pass http://localhost:9001; include proxy_params_no_auth; rewrite ^/minio/(.*) /$1 break; proxy_set_header X-NginX-Proxy true; ## This is necessary to pass the correct IP to be hashed real_ip_header X-Real-IP; proxy_connect_timeout 300; ## To support websockets in MinIO versions released after January 2023 # Some environments may encounter CORS errors (Kubernetes + Nginx Ingress) # Uncomment the following line to set the Origin request to an empty string # proxy_set_header Origin ''; chunked_transfer_encoding off; } # Admin Frontend # Optional Module, comment this section if you are did not deploy admin_frontend in docker-compose.yml location /console { proxy_pass http://localhost:3000; include proxy_params_no_auth; } location /health { # Force bypass YunoHost SSO access_by_lua_block { return; } proxy_pass http://127.0.0.1:8000; include proxy_params_no_auth; } # AppFlowy Web location / { proxy_pass http://localhost:3001; include proxy_params_no_auth; } root@ynh01:/var/log/nginx# -
-
-
-
-
How about a configuration format that is actually format agnostic? Something like this:
#! /bin/env fancy-file-format
26m2zKqSa... (some binary data)Then you just run it like that 🤯
# Print data as JSON
./config.fff --format json
# Write data from YAML
echo "so = true" | ./config.fff --format yaml
# Edit data as temporary TOML file
./config.fff --format toml --edit -
How about a configuration format that is actually format agnostic? Something like this:
#! /bin/env fancy-file-format
26m2zKqSa... (some binary data)Then you just run it like that 🤯
# Print data as JSON
./config.fff --format json
# Write data from YAML
echo "so = true" | ./config.fff --format yaml
# Edit data as temporary TOML file
./config.fff --format toml --edit -
How about a configuration format that is actually format agnostic? Something like this:
#! /bin/env fancy-file-format
26m2zKqSa... (some binary data)Then you just run it like that 🤯
# Print data as JSON
./config.fff --format json
# Write data from YAML
echo "so = true" | ./config.fff --format yaml
# Edit data as temporary TOML file
./config.fff --format toml --edit -
How about a configuration format that is actually format agnostic? Something like this:
#! /bin/env fancy-file-format
26m2zKqSa... (some binary data)Then you just run it like that 🤯
# Print data as JSON
./config.fff --format json
# Write data from YAML
echo "so = true" | ./config.fff --format yaml
# Edit data as temporary TOML file
./config.fff --format toml --edit -
Hyperland users: you're gonna like this 🐁
🖥️ **monitui** — A TUI for wrangling your Hyprland monitors
💯 Move displays with hjkl, drag with mouse, save presets & live preview
🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: https://github.com/nathaniel-fargo/monitui
#rustlang #ratatui #tui #hyprland #linux #terminal #opensource #monitor #config
-
How to Stop MySQL From Eating All Your RAM
Buffer pool can swallow your entire server.
-
How To Setup, Increase or Decrease Virtual Memory on Windows PC? 💾💽 https://www.youtube.com/watch?v=6_A6G6FqpXs 🎬 #Config #VirtualMemory #Pc #Guide
-
How To Setup, Increase or Decrease Virtual Memory on Windows PC? 💾💽 https://www.youtube.com/watch?v=6_A6G6FqpXs 🎬 #Config #VirtualMemory #Pc #Guide
-
How To Setup, Increase or Decrease Virtual Memory on Windows PC? 💾💽 https://www.youtube.com/watch?v=6_A6G6FqpXs 🎬 #Config #VirtualMemory #Pc #Guide
-
How To Setup, Increase or Decrease Virtual Memory on Windows PC? 💾💽 https://www.youtube.com/watch?v=6_A6G6FqpXs 🎬 #Config #VirtualMemory #Pc #Guide
-
How To Setup, Increase or Decrease Virtual Memory on Windows PC? 💾💽 https://www.youtube.com/watch?v=6_A6G6FqpXs 🎬 #Config #VirtualMemory #Pc #Guide
-
How To Setup, Increase or Decrease Virtual Memory on Windows PC? 💾💽 https://www.youtube.com/watch?v=6_A6G6FqpXs 🎬 #Config #VirtualMemory #Pc #Guide
-
How To Setup, Increase or Decrease Virtual Memory on Windows PC? 💾💽 https://www.youtube.com/watch?v=6_A6G6FqpXs 🎬 #Config #VirtualMemory #Pc #Guide
-
How To Setup, Increase or Decrease Virtual Memory on Windows PC? 💾💽 https://www.youtube.com/watch?v=6_A6G6FqpXs 🎬 #Config #VirtualMemory #Pc #Guide