Skip to main content
A project’s Networking tab controls how people reach it. Rules here run at the Pxxl edge, before a request reaches your app, and apply to every domain of the project, including domains you add later. Set them once instead of per domain. Open a project, then Networking. The sections are listed on the left; search them with /.
The project Networking tab with the Security section open: Force HTTPS on, Security headers off, blocked methods and a max request size field.
Edge rules are saved with Save at the bottom of each section and reach every domain within a minute. No redeploy is needed, except for Port.

Domains

Public domains lists every address of the project, its status and the port it routes to.
  • Generate Domain adds another free Pxxl address.
  • Custom Domain connects your own domain. See Connect a domain.
  • Each domain’s ⋮ menu has Refresh SSL and other actions.

Static cache

Shown for projects the edge caches, such as static sites. The edge keeps copies of your files close to visitors. Each deployment has its own copies, so a new deploy is live right away. Choose Purge cache only if visitors still see old files.

Port

Target port is the port your app listens on, from 1 to 65535. Pxxl detects it from your app. Domains without their own port route here. The change applies on the next deployment. Your app must listen on 0.0.0.0 (all interfaces), not only 127.0.0.1:

WebSockets

Allow WebSockets lets browsers keep a live connection to your app for chat, live updates and multiplayer. It applies to every domain of the project.
  • New projects on the Free plan start with it off.
  • Static sites can’t use it.
  • Connections close when you deploy. Clients should reconnect. For connections that must stay open through deploys, use Persistent connections.

Security

A read-only site, such as a marketing page, can block POST, PUT, PATCH and DELETE. An app that takes uploads should set a max request size a little above its largest upload.

Access

Example: an admin app only your office and VPN can reach:

Rate limiting

Limit requests caps requests per minute at the edge, from 10 to 100,000, counted per IP or per domain. Visitors over the limit get 429, so floods never reach your app. Blocked requests show in Web Analytics as Blocked. Start generous, then tighten: a typical web app is fine with 600 per minute per IP.

Search engines

Hide from search engines adds X-Robots-Tag: noindex, nofollow to every response, so Google and other crawlers don’t index the project. Use it for staging and internal tools. Don’t turn it on for your production site.

Headers

Add up to 20 custom headers to every response from every domain of the project: caching, CORS or your own markers.

Maintenance

Maintenance mode shows visitors a maintenance page with status 503 while your app keeps running. Use it during a migration, then turn it off. The project header’s Enter Maintenance Mode does the same.

Where to go next

Domain settings

Rules for a single domain.

Proxy and security issues

Fix 403, 413 and 429 responses.