Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Mojolicious, apache reverse proxy

by slatibart (Sexton)
on Sep 19, 2019 at 13:51 UTC ( [id://11106378]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      ProxyRequests Off
      ProxyPreserveHost On
    ...
      ProxyPassReverse /rules http://localhost:3000/
      RequestHeader set X-Forwarded-HTTPS "0"
    
  2. or download this
    app->hook(before_dispatch => sub {
      my ( $c ) = @_;
    ...
    </body>
    </html>
    
  3. or download this
    
    <!DOCTYPE html>
    ...
    </body>
    </html>
    
  4. or download this
    <form action="/all%2Frules"><input type="submit" value="Home"></form>
    <form action="/all%2Frules/user"><input type="submit" value="User"></f
    +orm>
    
    <a href="/all%2Frules">Home</a>
    <a href="/all%2Frules/user">User</a>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11106378]
Approved by marto
Front-paged by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found