Self-hosted app·Video sites and adult platforms
nginx on a VPS
or a dedicated server in Panama City.
nginx VPS or dedicated video edge in PTY1, Panama City: sizing, an nginx 1.30.6 config, Docker caveats, prices from $6.99/mo, and the rules.
- nginx
- Debian
PTY1·Panama City
In stockRecommended for this use case
- 10 Gbps portunmetered traffic, fair useIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4KVM console and full rootIncluded
Optional: NVMe +$10 per 2 TB, up to 12 TB · 25 Gbps port +$25 · 32 GB memory +$12
Pay quarterly for 10% less, yearly for 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 12 cores, 24 threads AMD EPYC 4464P
- 3 TB NVMe, up to 12 TB
- 10 Gbps port, unmetered traffic
- DDoS protection included
- Panamanian law
01/06
Short answer.
Yes. nginx runs on every plan we sell in PTY1, Panama City, and the plan you need is decided by one number: how many bytes you send per month. A reverse proxy or a static site fits on a Cloud VPS from $6.99, as long as you stay inside the plan's monthly transfer. A video network does not fit on any VPS, because the largest includes 100 TB a month; for that we recommend the Chrome dedicated server at $109.99 plus the 1 TB object storage bucket at $7.96, which gives you a 10 Gbps port with unmetered traffic under fair use and NVMe you can grow to 11 TB of cache.
02/06
What nginx is,
and which build to run.
nginx is an HTTP server, reverse proxy, content cache and TCP/UDP proxy, originally written by Igor Sysoev and released under the 2-clause BSD licence. Development now happens on GitHub, and F5 sells the commercial edition. On a server like ours it either terminates TLS in front of applications or acts as the caching tier of a home-built CDN for large media files, and only the second job makes the choice of host matter.
As of 3 November 2026 the stable branch is 1.30.6 (released 14 October) and mainline is 1.31.8 (21 October). Run 1.30.6 at minimum. The 1.30 line has had a busy year of advisories, and two touch features a media edge turns on: a memory disclosure in the slice module (CVE-2026-60005, fixed in 1.30.4) and a use-after-free with asynchronous file I/O that needs SSI to trigger (CVE-2026-97205, fixed in 1.30.6). The branch also changed defaults you may still be working around: since 1.29.7 upstream keepalive is on and proxy_http_version defaults to 1.1, so the old proxy_set_header Connection "" line can go.
Install from the nginx.org repository, which builds in the slice, secure_link, mp4 and thread-pool modules used below. Be careful with the Docker official image: when we checked on 3 November, its stable tag still pointed at 1.30.4, three weeks after 1.30.6 shipped with five security fixes.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/06
Requirements and sizing.
nginx itself is frugal; what you pay for is the operating system's page cache, the cache disk and the port.
| Job | Plan | Monthly | The limit that bites first |
|---|---|---|---|
| TLS termination, reverse proxy, static sites | Cloud VPS Starter: 2 vCPU, 2 GB, 80 GB NVMe, 10 TB transfer, 1 Gbps | $6.99 | Transfer |
| Image-heavy site, software downloads | Cloud VPS Power (40 TB, 2 Gbps) to Titan (100 TB, 5 Gbps) | $42.99 – $119.99 | Transfer |
| Video edge cache | Chrome dedicated: EPYC 4464P 12c/24t, 64 GB DDR5 ECC, 3 TB NVMe Gen4, 10 Gbps unmetered under fair use | $109.99 + options | RAM for the hot set, then TLS CPU |
VPS traffic is metered, and that alone rules the line out for video. Cloud VPS Titan's 100 TB a month averages about 309 Mbps over 30 days; Starter's 10 TB is about 31 Mbps (both theoretical). A 10 Gbps port at line rate could move 3,240 TB in the same 30 days (theoretical; nobody sustains line rate, and fair use applies).
On a video edge, RAM is the page cache, and every hit served from it is a read that never reaches NVMe. Chrome ships with 64 GB. We would start a video edge at 128 GB (two +32 GB blocks, $24) and go to the 192 GB ceiling only when your logs show the hot set does not fit. nginx's own index is small by comparison: the documentation puts one megabyte of keys_zone at about 8,000 keys. With 4 MB slices a 10 TB cache holds about 2.4 million objects and needs roughly 300 MB of zone; with 1 MB slices it needs four times that (theoretical), which is one reason not to slice that thin.
Chrome's 3 TB grows in 2 TB steps at $10 each, so its practical maximum is 11 TB: the 12 TB per-server cap cannot be reached from 3 TB in 2 TB steps. If you want exactly 12 TB, Tungsten (6 TB plus three steps) or Titan (8 TB plus two) gets there from a higher base price.
The 25 Gbps port is $25 a month more. That is about 3.1 GB/s, against roughly 77 GB/s from the EPYC 4004's two DDR5 channels even at DDR5-4800 (theoretical), so memory bandwidth is not what limits nginx; Titan's twelve channels pay off for in-memory databases, not here. TLS is the constraint. With kernel TLS, nginx can sendfile() encrypted responses without copying them through user space (supported with OpenSSL 3.0 since nginx 1.21.4); without it, a worker reads and encrypts every byte.
Open 80 and 443/TCP. We would leave HTTP/3 (443/UDP) off on a video edge until you have measured a gain for your audience: long downloads gain little from QUIC, and the HTTP/3 module accounts for a good share of this year's advisories (CVE-2026-40460, CVE-2026-90439, CVE-2026-95101).
04/06
How to deploy it
with us.
Order Chrome with Debian 13 from the deploy page, add the RAM, NVMe and port options you sized above, and add the bucket from the deploy page. Then install nginx from nginx.org and pin it above Debian's package; the key fingerprint must read 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62.
apt install -y curl gnupg2 ca-certificates lsb-release debian-archive-keyring
curl -fsSL https://nginx.org/keys/nginx_signing.key | gpg --dearmor -o /usr/share/keyrings/nginx-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://nginx.org/packages/debian trixie nginx" > /etc/apt/sources.list.d/nginx.list
printf 'Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n' > /etc/apt/preferences.d/99nginx
apt update && apt install -y nginx && nginx -vMount the cache NVMe at /srv/cache, set worker_processes auto; and worker_rlimit_nofile 262144; in nginx.conf, and drop in the edge configuration. It is written for the 11 TB build; on the base 3 TB, set max_size=2500g and leave the operating system its room.
# /etc/nginx/conf.d/media-edge.conf (nginx 1.30.6, Debian 13)
proxy_cache_path /srv/cache/media levels=1:2 keys_zone=media:512m
max_size=10t min_free=100g inactive=30d use_temp_path=off;
upstream media_origin {
server 127.0.0.1:8080; # rclone in front of the bucket, or your own origin
}
server {
listen 443 ssl reuseport;
listen [::]:443 ssl reuseport;
http2 on;
server_name media.example.com;
ssl_certificate /etc/nginx/tls/media.example.com.pem;
ssl_certificate_key /etc/nginx/tls/media.example.com.key;
ssl_conf_command Options KTLS;
sendfile on;
tcp_nopush on;
aio threads;
location /v/ {
secure_link $arg_md5,$arg_expires;
secure_link_md5 "$secure_link_expires$uri CHANGE_ME";
if ($secure_link = "") { return 403; }
if ($secure_link = "0") { return 410; }
slice 4m;
proxy_cache media;
proxy_cache_key $uri$slice_range;
proxy_set_header Range $slice_range;
proxy_cache_valid 200 206 30d;
proxy_cache_lock on;
proxy_cache_use_stale error timeout updating;
proxy_pass http://media_origin;
limit_rate_after 16m;
limit_rate 4m;
add_header X-Cache $upstream_cache_status always;
}
}The cache key leaves out the query string on purpose. Every viewer receives a differently signed URL, and keying on it would drive your hit ratio to zero. proxy_cache_lock collapses simultaneous misses for the same slice into one origin request. Do not add proxy_cache_background_update: the slice module's documentation says it does not work in that subrequest. The rate limit lets the first 16 MB through at full speed for a quick start, then holds each connection to 4 MB/s (32 Mbps), which is several times a typical HD stream and stops download managers from monopolising the port. Your application signs links like this:
exp=$(date -d '+6 hours' +%s)
md5=$(printf '%s%s %s' "$exp" "/v/clip.mp4" "CHANGE_ME" | openssl md5 -binary | openssl base64 | tr +/ -_ | tr -d =)
echo "https://media.example.com/v/clip.mp4?md5=$md5&expires=$exp"nginx cannot sign S3 requests by itself, so if the masters live in the bucket, put rclone serve http on 127.0.0.1:8080 and let nginx treat it as the origin. The bucket's 5 Gbps then caps only your cache misses, which is where you want the cap. The same bucket keeps what must survive the server, configuration, certificates and rotated logs, through restic or rclone.
If you prefer containers, run nginx with host networking, which keeps 10 Gbps of video off Docker's NAT path, and check the version you pull: the 1.30 tag resolved to 1.30.4 on 3 November, so the native install stays our recommendation until the image catches up.
# compose.yaml
services:
nginx:
image: nginx:1.30 # resolved to 1.30.4 on 2026-11-03: check before you rely on it
network_mode: host
restart: unless-stopped
ulimits:
nofile: { soft: 262144, hard: 262144 }
volumes:
- ./conf.d:/etc/nginx/conf.d:ro
- ./tls:/etc/nginx/tls:ro
- /srv/cache:/srv/cache
origin:
image: rclone/rclone # pin the version you tested
network_mode: host
restart: unless-stopped
command: serve http ph:media --addr 127.0.0.1:8080
environment:
RCLONE_CONFIG_PH_TYPE: s3
RCLONE_CONFIG_PH_PROVIDER: Other
RCLONE_CONFIG_PH_ENDPOINT: ${BUCKET_ENDPOINT} # from the client panel
RCLONE_CONFIG_PH_ACCESS_KEY_ID: ${BUCKET_KEY}
RCLONE_CONFIG_PH_SECRET_ACCESS_KEY: ${BUCKET_SECRET}05/06
Cost.
| Build | Monthly |
|---|---|
| Cloud VPS Starter, reverse proxy | $6.99 |
| Cloud VPS Titan, 100 TB transfer, 5 Gbps | $119.99 |
| Chrome + 1 TB bucket (recommended start) | $117.95 |
| Chrome + 128 GB RAM + 11 TB NVMe + 25 Gbps + 1 TB bucket | $206.95 |
| Titan dedicated + 12 TB NVMe + 25 Gbps + 1 TB bucket | $272.95 |
Every dedicated server includes the 10 Gbps port with unmetered traffic under fair use, DDoS protection, one IPv4, a KVM console, full root, DDR5 ECC and NVMe Gen4. The bucket is billed by size only, with no request or traffic fees; if your library outgrows 1 TB, the 5 TB bucket is $39.80 and the 10 TB is $79.60. Yearly billing takes 25 % off the server, which brings Chrome alone to $989.91 a year. Full tables are on the pricing page.
We bill in crypto only, in US dollars, and we are no-KYC: an email address is enough. Top-ups run from $25 to $5,000 with a bonus from $50 (5 %) up to 20 % from $500, and the unused paid part of a top-up is refundable within 14 days.
This is what the box replaces. Cloudflare's Free, Pro and Business CDN terms, last updated 28 September 2026, require its paid Stream, Images or Developer Platform services for video and other large files, and let Cloudflare limit or disable the CDN for customers who serve them without. On AWS, internet egress from EC2 in us-east-1 starts at $0.09 per GB after a 100 GB monthly allowance; at mid-2026 list rates, 100 TB a month costs about $7,978 and 500 TB about $29,482 (theoretical). 500 TB a month averages about 1.5 Gbps, 15 % of a 10 Gbps port.
06/06
What we accept,
and what stays your responsibility.
A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful; child sexual abuse material is the plain case, and it comes down without waiting for a court. More on the process is in our page on DMCA notices.
Your viewers' laws travel with your traffic, wherever the server sits. Since 25 July 2025, the UK's Online Safety Act has required services that allow pornography to use highly effective age assurance, whether or not they are based in the UK. On 27 June 2025 the US Supreme Court upheld Texas's age-verification law in Free Speech Coalition v. Paxton. US record-keeping under 18 U.S.C. § 2257 falls on whoever produces the content or manages the sexually explicit content of a site; the statute excludes pure hosting and transmission, so those records are yours to keep, not ours.
Every line of your access log carries a viewer's IP address. Panama's Law 81 of 2019, implemented by Executive Decree 285 of 2021, governs that processing on the server, and an EU controller also needs safeguards such as the 2021 standard contractual clauses, because Panama has no EU adequacy decision. Set a retention period in logrotate; at 10 Gbps an unrotated log is also a disk problem.
If you run the forward proxy that arrived in 1.31.0 mainline (ngx_http_tunnel_module), require authentication. An open one turns your PTY1 address into someone else's exit node, and the abuse reports arrive in your ticket queue.
Article 29 of Panama's Constitution permits interception of private communications only on a judicial order, and the US has CLOUD Act agreements only with the UK and Australia, so a US request for data on a PTY1 server goes through the mutual legal assistance treaty in force since 1995 and a Panamanian authority.
Catalogue·Options
Every configuration, every option, every price.
Six dedicated servers, all with a 10 Gbps port and unmetered traffic. Add NVMe, memory, a faster port or more addresses when you order.
| Server | CPU | Cores / threads | Memory | Storage | Port, traffic | Price | Order |
|---|---|---|---|---|---|---|---|
| IronEntry level | EPYC 4244P | 6 / 12 | 32 GB DDR5 | 1 TB NVMe | 10 Gbps unmetered | $64.99/mo | Order Iron |
| SteelBalanced | EPYC 4344P | 8 / 16 | 64 GB DDR5 | 2 TB NVMe | 10 Gbps unmetered | $84.99/mo | Order Steel |
| ChromeRecommendedMore cores | EPYC 4464P | 12 / 24 | 64 GB DDR5 | 3 TB NVMe | 10 Gbps unmetered | $109.99/mo | Order Chrome |
| CobaltHigh frequency | EPYC 4564P | 16 / 32 | 96 GB DDR5 | 4 TB NVMe | 10 Gbps unmetered | $139.99/mo | Order Cobalt |
| TungstenLarge memory | EPYC 4584PX | 16 / 32 | 128 GB DDR5 | 6 TB NVMe | 10 Gbps unmetered | $164.99/mo | Order Tungsten |
| TitanMaximum density | EPYC 9254 | 24 / 48 | 192 GB DDR5 | 8 TB NVMe | 10 Gbps unmetered | $219.99/mo | Order Titan |
NVMe can be added in 2 TB steps up to 12 TB.
Every plan
- 10 Gbps port25 Gbps for $25 more
- Unmetered trafficfair use, no per-TB bill
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- KVM consoleand full root access
FAQ
Questions
people ask first.
Short answers about running this in PTY1. If yours is not here, open a ticket from your panel.
Is an nginx VPS enough, or do I need a dedicated server?
For a reverse proxy, TLS termination or static sites, a VPS is enough: transfer runs out long before CPU does. If your outbound traffic averages more than about 309 Mbps over the month, no VPS plan covers it (theoretical, from Cloud VPS Titan's 100 TB) and a dedicated port is the cheaper answer.
Can I keep Cloudflare in front?
On the hostname that serves HTML and API calls, yes. Set the video hostname to DNS only and point it at your PTY1 server, so the large files stay outside the CDN terms that restrict them below Enterprise.
Can the object storage bucket be the nginx cache?
No. It is an S3-compatible bucket reached through an endpoint and access keys, not a disk; keep proxy_cache_path on local NVMe and use the bucket as the origin or for backups.
What latency should I expect from Panama City to the rest of the Americas?
Physics sets the floor. On great-circle distance and light in fibre at about 200,000 km/s, the minimum round trip from Panama City is about 8 ms to Bogotá, 19 ms to Miami, 24 ms to Mexico City and Lima, and 51 ms to São Paulo (theoretical; real routes are longer).
Sources
Every fact on this page, with its source
Checked 3 Nov 2026 unless noted.
Panamanian law and authorities
- Constitution of Panama, art. 29, Gaceta Oficial 25176s3-legispan.asamblea.gob.pa
- Law 81 of 26 Mar 2019 on personal data protection, Gaceta Oficial 28743-A (implemented by Executive Decree 285 of 28 May 2021)gacetaoficial.gob.pa
EU and other countries
- Ofcom, letter to Part 3 services that allow pornography (highly effective age assurance by 25 Jul 2025)ofcom.org.uk
- 18 U.S.C. § 2257, record-keeping requirements (LII)law.cornell.edu
- US Department of Justice, CLOUD Act resources (agreements with the UK and Australia only)justice.gov · verified 31 Oct 2026
- GDPR, art. 46eur-lex.europa.eu
Industry, providers and software
- Docker official images, library/nginx (stable tags at 1.30.4)github.com
- Cloudflare, Service-Specific Terms, Application Services, CDN section (last updated 28 Sep 2026)cloudflare.com
- AWS, EC2 On-Demand pricing, Data Transfer (100 GB monthly free allowance, aggregated tiers)aws.amazon.com
- FactualMinds, AWS data transfer pricing calculator (us-east-1 tiers $0.09 / $0.085 / $0.07 / $0.05 per GB, as of 22 Jul 2026)factualminds.com
Other references
- nginx.org, home page and news (1.30.6 stable, 14 Oct 2026; 1.31.8 mainline, 21 Oct 2026)nginx.org
- nginx.org, download pagenginx.org
- nginx.org, security advisories (CVE-2026-60005, CVE-2026-97205, HTTP/3 advisories)nginx.org
- nginx.org, CHANGES (1.21.4 SSL_sendfile; 1.29.7 keepalive and HTTP/1.1 defaults; 1.31.0 tunnel module)nginx.org
- nginx.org, ngx_http_slice_module (not built by default; known issue with background update)nginx.org
- nginx.org, ngx_http_proxy_module (keys_zone: about 8,000 keys per MB; proxy_cache_lock)nginx.org
- nginx.org, Linux packages (Debian 13 "trixie", signing key fingerprint, pinning)nginx.org
- Supreme Court of the United States, Free Speech Coalition, Inc. v. Paxton, No. 23-1122, 27 Jun 2025supremecourt.gov
- US Department of State, Panama–US mutual legal assistance treaty, in force 6 Sep 1995state.gov
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.