Skip to content

A Valet driver that proxies uploads request to the production server. No more syncing your uploads folder.

Notifications You must be signed in to change notification settings

kurodaSensei/wordpress-proxy-valet-driver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

WordPress Proxy Valet Driver

Proxy local /uploads requests to your production server. No more syncing uploads folders.

Setup

  1. Install the Valet Driver

    wget https://raw.githubusercontent.com/briteweb/wordpress-proxy-valet-driver/master/WordPressProxyValetDriver.php -O ~/.valet/Drivers/WordPressProxyValetDriver.php
  2. Enable the driver by adding a file called .uploads-proxy to your sites WP root, containing the URL that you wish to proxy to in .uploads-proxy.

    In the one-liner below, replace https://example.com with your actual production URL.

    echo https://example.com >> .uploads-proxy	
  3. Done!

About

A Valet driver that proxies uploads request to the production server. No more syncing your uploads folder.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%