Apache RewriteRule Generator - Online mod_rewrite Helper
Build Apache mod_rewrite rules for redirects or clean URLs. Fill in simple fields and get the .htaccess code.
UD5 Toolkit
Generate production-ready Nginx reverse proxy configurations with SSL, WebSocket, load balancing & more.
Select options and fill in the form to generate Nginx configuration...
ssl parameter, specify your certificate and private key paths using ssl_certificate and ssl_certificate_key directives. It's recommended to also set up a separate server block on port 80 that redirects all HTTP traffic to HTTPS using a 301 redirect. For enhanced security, enable HSTS headers and use modern TLS protocols (TLS 1.2 and 1.3). Our generator handles all of this automatically — just enable the HTTPS toggle and provide your certificate paths.
proxy_http_version 1.1;, proxy_set_header Upgrade $http_upgrade;, and proxy_set_header Connection "upgrade";. Without these headers, WebSocket connections will fail because Nginx defaults to HTTP/1.0 for proxy connections, which doesn't support the upgrade mechanism. You should also increase the proxy_read_timeout to a higher value (e.g., 3600s) to prevent WebSocket connections from being closed during long idle periods. Simply toggle "Enable WebSocket Support" in our generator to add these automatically.
proxy_pass is correct. 504 Gateway Timeout — The backend took too long to respond. Increase proxy_read_timeout and proxy_connect_timeout. 403 Forbidden — Check file permissions or authentication settings. SSL/TLS errors — Verify certificate paths and ensure the certificates are valid and readable by the Nginx user. Always run nginx -t to test your configuration syntax before reloading. Check Nginx error logs at /var/log/nginx/error.log for detailed error messages. Use curl -v to inspect response headers and debug connectivity issues step by step.
proxy_buffer_size, proxy_buffers) for your typical response sizes. Enable caching with proxy_cache to reduce backend load for frequently accessed resources. Set reasonable timeouts to free up connections promptly. Use keepalive connections to your backend with the keepalive directive inside the upstream block. Consider enabling sendfile and tcp_nopush for static file serving. Monitor your Nginx metrics using the stub_status module or tools like Prometheus with the Nginx exporter to identify bottlenecks.
/etc/letsencrypt/live/yourdomain.com/fullchain.pem and /etc/letsencrypt/live/yourdomain.com/privkey.pem. Set up a cron job for automatic renewal (Certbot usually does this automatically). Our generator uses the standard Let's Encrypt paths as defaults when you enter your domain name, making it easy to integrate with your existing Let's Encrypt setup.
nginx -t before reloading. This command checks syntax validity and reports any errors with line numbers. On most systems, run sudo nginx -t. If the test passes, apply the configuration with sudo nginx -s reload (graceful reload without dropping connections) or sudo systemctl reload nginx. For major changes, consider using a staging environment first. You can also use the generated configuration from this tool in a Docker container for testing before deploying to production. Remember to backup your existing configuration before making changes: cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf.bak.
Build Apache mod_rewrite rules for redirects or clean URLs. Fill in simple fields and get the .htaccess code.
Get a clean, commented JS plugin skeleton with IIFE or ES module pattern. Start your new library faster.
Generate cryptographic key pairs using the Web Crypto API. Export as JWK or raw. No server needed; pure security.
Write a function name and get a complete unit test stub with describe, it, and expect. Follows AAA pattern.
Upload multiple SVGs and combine them into a single SVG sprite sheet with `<symbol>` and `<use>`. Fast icon system.
Add columns with types and constraints, then generate a SQL CREATE TABLE statement. Supports MySQL/PostgreSQL.
Fill in container image and ports. Generate a Deployment and Service YAML with best practices. Start your K8s journey.
Design custom unordered and ordered lists with images, strings, or counters. Preview and copy the CSS.
Generate the next sequential invoice number with optional prefix and date stamp. Keep track locally or export.
Design a custom counter style with symbols, range, and speak‑as. Preview ordered lists with your new style. Export the CSS rule.
Generate classic retro sound effects (coin, jump, explosion) using oscillators and noise. Play and download as WAV. Web Audio API fun.
Generate encrypted passwords for .htaccess basic authentication. Create .htpasswd entries using bcrypt, MD5, or SHA. Server admin utility, local compute.
Generate random license keys or serial numbers in various formats (XXXX-XXXX-XXXX). Useful for software activation testing. Local generation.
Design a custom analog clock face by choosing colors, hands, and numbers. Download as SVG or PNG. For craft or UI design.
Select trip type (beach, business, camping) and get a pre-filled packing checklist. Customize and print. Local storage.
Drag items into grid cells and see the resulting grid‑area or line‑based placement code. Learn how auto‑placement and spanning work.
Create XID identifiers that are globally unique, time‑based, and MongoDB ObjectID compatible. Copy or download a batch.
Paste a list of URLs or texts and generate QR codes all at once. Download as individual images or a single sheet.
Generate a complete <head> section with meta charset, viewport, SEO, favicon, and social tags. Customize and copy.
Connect to a serial device (Arduino, etc.) via the Web Serial API. Send and receive text. No native app needed.
Paste lyrics and tap while the song plays to embed timestamps. Export as .lrc file for music players. All in browser.
Fill in bio, skills, projects to generate a clean HTML portfolio page. Copy the code. Local builder.
Run multiple named timers simultaneously for cooking. Presets like pasta, rice, etc. Audio alarm. Works in background.
Place rectangular pattern pieces on a virtual fabric width to optimize cutting layout and reduce waste. Simple manual drag & drop. Local only.
Upload a logo to embed in the center of a QR code. High error correction so it still scans. Download PNG/SVG.
Convert JSON data structures to clean, human-readable YAML. Indentation and formatting preserved. All processing done locally for your privacy.
Build an accessible modal using the native <dialog> element. Customize backdrop, content, and open/close logic. Copy the code.
Enter a MIDI note number (0–127) or a musical note name and get the exact frequency in Hz. Piano keyboard picker.
Record audio from your microphone and export as a WAV file. Monitor levels. Processed entirely in your browser.
Record audio from your microphone and export as a WAV file. Monitor levels. Processed entirely in your browser.