[10:15:27] hmmmm, in REL_133 im loading a page and done see mw.config.wgWikiID :/ [10:23:26] interesting https://github.com/wikimedia/mediawiki/commit/d45baf7f0734a2506c77925064f42bc13e1bff5e [10:27:13] It was removed from echo in https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Echo/+/517560/ and that patch says it was in 1.34 [10:27:42] but the 1.33 branch of echo doesnt have that code setting wgWikiId https://github.com/wikimedia/mediawiki-extensions-Echo/blob/REL1_33/includes/EchoHooks.php [10:37:27] right, https://phabricator.wikimedia.org/T167336 is my issue :) [19:06:25] Hi, 403 Forbidden on nginx when i use it with ssl for wikimedia, any ideas? [19:08:45] hispeed_m: what do you mean when you say "wikimedia" [19:09:12] wikipedia.org? your mediawiki website? [19:09:19] ahh sory i mean my mediawiki website [19:09:33] no problem :) [19:09:59] so you have a mediawiki installation and nginx. Is nginx the main server for mediawiki or is it a second server in front of something like Apache? [19:09:59] i can paste my config if you want? [19:10:02] sure [19:10:25] it's the mainserver and i have the possibilite to add an reverse proxy (also nginx) in front of it. [19:10:28] consider https://dpaste.org/ if it is longer than a few lines :) [19:10:40] special is that on the same server i have an apache running. [19:10:42] And for what url? [19:12:24] https://dpaste.org/wuzU [19:13:57] Reedy internal not external [19:15:28] Well, it's more on a dev wiki using nginx... https://wiki.foo.net/ gives a 403, but https://wiki.foo.net/w/index.php works [19:16:50] the problem is maybe that I have to run nginx on a different port than 443 [19:17:31] when i enter: https://wiki.foo.net:4141/index.php then it downloads the .php file [19:18:18] have you actually enabled nginx to serve php files? [19:18:29] I don't see anything in your config to do so [19:18:39] i have to use a different port because an apache instance with openproject is already running on the same machine. [19:18:56] include /etc/nginx/default.d/*.conf; [19:19:27] upstream php-fpm { [19:19:27] server unix:/run/php-fpm/php-fpm.sock; [19:19:27] } [19:20:05] the php is running, it's running everything fine without https [19:20:57] sudo semanage port -m -t http_port_t -p tcp portnumber <- Because of centos and SElinux is also done [19:21:40] chown -R nginx:nginx /var/www/html is done and also 755 [19:22:15] Does the '/' (without index.php) work without https? [19:22:57] I can acces: http://192.168.XX.XXX:8080/index.php?title= [19:23:25] Not with ssl then I recieve: 403 Forbidden [19:24:16] 2020/04/11 21:23:11 [error] 47760#0: *11 directory index of "/var/www/html/" is forbidden, client: 192.168.XX.XX, server: wiki.maindomain.ch, request: "GET / HTTP/2.0", [19:24:16] host: "wiki.maindomain.ch:4141" [19:24:25] i see that in the nginx log [19:25:46] NGINX running on: LISTEN 0 128 [::]:4141 [::]:* users:(("nginx",pid=47760,fd=11),("nginx",pid=47759,fd=11),("nginx",pid=47758,fd=11)) [19:26:32] just for info: ports and domain are diffent in the real conifg ^^ [19:31:21] mhmm when i create phpinfo.php file and want to open it, it only download the file same as mediawiki index.php [19:31:35] probably it's more a nginx port config problem [20:18:13] hispeed_m: sorry yeah don't know about nginx internals. They might have a separate support forum :) [20:42:44] they have also an own irc channel ;) but no pro avaiable at the moment :( [20:43:52] easy I wll show tomorrow [23:48:32] does there exist a drag and drop upload that works with the page forms extension? [23:48:51] ive been trying and failing pretty hard to get something working