It looks like WordPress org doesn’t use ALPN…

It looks like WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ doesn’t use ALPN for negotiating the connection encryption. Chrome is dropping support for NPN next month, so it’d be nice if we could upgrade before then.

#nginx

502 Bad Gateway on WordCamp.org Requests

I’m seeing 502 Bad Gateway errors on certain WordCamp.org requests. For example, requesting 30 posts from the JSON API works fine, but requesting 40 doesn’t.

I’ve also seen it happen when connecting Jetpack to WPCOM, but that’s intermittent and I haven’t noticed a pattern yet.

We have use cases where APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. clients will need 75-100 posts. They could make multiple requests, but that would add additional overhead and slow things down on their end.

The nginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. logs say, upstream sent too big header while reading response header from upstream, and it sounds increasing the buffer sizes may be all that’s needed to fix it.

#nginx, #wordcamp-org

I have an nginx fix for a fun…

I have an nginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. fix for a fun issue that’s breaking Jetpack integration.

https://make.wordpress.org/support/xmlrpc.php isn’t being rewritten to /xmlrpc.php because /support/xmlrpc.php exists (it’s a bbPress file). /support/ is a physical directory that is bypassed for all subdomains, which means we end up rewriting it to index.php and thus a 404 results.

The simple fix appears to be this:


	# make.wordpress.org/support/xmlrpc.php needs to hit /xmlrpc.php.
	# Without this, it targets /support/xmlrpc.php (a bbPress file)
	# which is then denied and we end up with a 404.
	location ~ /xmlrpc\.php(?:/|$) {
		include conf.d/php-config;
		rewrite ^ /xmlrpc.php break;
	}

This should go into conf.d/wporg-make.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ around line 60. I’m happy to commit this but I wanted review first.

#nginx

Please deploy and reload nginx for wporg web…

Please deployDeploy Launching code from a local development environment to the production web server, so that it's available to visitors. and reload nginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. for wporg-web. Don’t forget linkprop, as a new file was added. Relevant commits are 5640 and 5642.

#nginx, #request

Can I have an nginx reload on the…

Can I have an nginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. reload on the web nodes after r5574-deployDeploy Launching code from a local development environment to the production web server, so that it's available to visitors.?

For ease of review:

— wporg-downloads.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ (revision 5567)
+++ wporg-downloads.wordpress.org (working copy)
@@ -56,6 +56,7 @@
        try_files $uri =404;
        rewrite ^/pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party(.*) /plugin.php last;
        rewrite ^/translation(.*) /translation.php last;
+      rewrite ^/theme(.*) /theme.php last;
    }

Tested and works as expected.

#nginx

I’m getting errors trying to upload 15MB+ files…

I’m getting errors trying to upload 15MB+ files to wordcamp.org, and it sounds like it might be an NginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. config issue. Could someone please take a look and increase it to ~50MB?

POST http://2014.seattle.wordcamp.org/wp-admin/async-upload.php 413 (Request Entity Too Large) 

#configuration, #nginx, #wordcamp-org

Can the CNAME entries please be removed for…

Can the CNAME entries please be removed for android.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/, ios.wordpress.org, and iphone.wordpress.org? The latest nginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. rules also need to be deployedDeploy Launching code from a local development environment to the production web server, so that it's available to visitors., which will then handle these domains (redirecting them).

#dns, #nginx

We’re getting a 504 on WordCamp org during…

We’re getting a 504 on WordCamp.org during a tickets data export to MailChimp. The error occurs after 60 seconds while the PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. script keeps running until it’s done (a timeout of 600 is set). Can somebody please look into it? Thanks!

#nginx, #wordcamp-org

The $host = make wordpress org conditional also…

The $host = make.wordpress.org conditional also needs some lines from the location / block, prior to the rewrite for index.php pulled from @404-extend in https://make.wordpress.org/systems/2012/07/17/problem-with-nginx-rewrites-i-think-conflict-between/#comment-247.

Specifically:

        # uploaded files
        rewrite ^/([_0-9a-zA-Z-]+/)?files/(.+) /wp-includes/ms-files.php?file=$2 last;
        rewrite ^/core/handbook/files/(.+) /wp-includes/ms-files.php?file=$1 last;
        # add a trailing slash to /wp-admin
        rewrite ^/([_0-9a-zA-Z-]+/)?wp-admin$ /$1wp-admin/ permanent;
        rewrite ^/core/handbook/wp-admin$ /core/handbook/wp-admin/ permanent;

I suggest the various /coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress./handbook/ rules be pulled out into their own location blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. once make.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ moves to its own server block.

#nginx, #request

Can I have the following nginx rewrites set…

Can I have the following nginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. rewrites set up in the wporg-wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ nginx conf file, inside the make.wordpress.org host check around line 19?

        rewrite ^/core/[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) /$1 break;
        rewrite ^/core/[_0-9a-zA-Z-]+/(.*\.php)$ /$1 break;

#nginx, #request