@munin @amy @estrogenandspite Not according to Billy Shakes. The man wrote several sonnets about his own Willy after all.
PHP Fox, wrote Clickthulu. Re-writing Clickthulu for the Fediverse. AKA Daemionfox on RedWombat
@munin @amy @estrogenandspite Not according to Billy Shakes. The man wrote several sonnets about his own Willy after all.
Wanted. A simple PHP library for handling all ActivityPub actions. Sub/Unsub/Post/Reply/Receive/etc. Anyone have anything? Bonus points if it's compatible with Symfony
OMG YES THIS. UNIVERSAL BASIC INCOME FOREVER ✊
If you agree, PLEASE REPOST
Help out, #birding #birdphotography mastodon!
@snipe Didja get a little surprise when not quite awake yet?
@LoganFive I see what you did there. #madProps #stillGoToTheShameCorner
Blargh. Okay, @fennecbyte has solved my nginx issue, thank you. Leaving me with the other issue about building this installer.
No composer libraries, no support structure, no nothing, just me, procedural php and straight up HTML/javascript.
*cracks knuckles*. It's been a while, let's do this.
@fennecbyte Seems to have worked! Thanks!
@fennecbyte Should it go above or below the index block? I've got it above currently and no dice
@fennecbyte this is the location I thought would work
location ~ ^/install/.+$ {
include fastcgi_params;
fastcgi_pass hotbox-php:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
internal;
}
@fennecbyte Sure thing, this is the base config (no install) that works fine.
server {
# listen 0.0.0.0:80;
listen 443 ssl;
server_name localhost;
root /var/www/public;
ssl_certificate /etc/nginx/ssl/nginx-selfsigned.crt;
ssl_certificate_key /etc/nginx/ssl/nginx-selfsigned.key;
location / {
try_files $uri /index.php$is_args$args;
}
location ~ ^/index\.php(/|$) {
include fastcgi_params;
fastcgi_pass hotbox-php:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
internal;
}
error_log /var/log/nginx/project_error.log;
access_log /var/log/nginx/project_access.log;
}
server {
listen 80;
server_name localhost;
return 302 https://$server_name$request_uri;
}
@fennecbyte this is EXACTLY the problem. Except when I try and add another location for the install, it ignores the php-fpm directives. I *think* its because i have a / location that sends everything to index, but i should (I think) be able to slide a /install/ at the top
@l4p1n That's the issue. A non index.php triggers a download