Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Setup Reverse Proxy and SSL Questions |
|
Author |
|
jhwatts2010
Joined: 17 Jun 2015 Posts: 2 Location: Knoxville, Tennessee
|
Posted: Mon 22 Jun '15 16:53 Post subject: Setup Reverse Proxy and SSL Questions |
|
|
I have several questions here.
My system consist of Ubuntu 14.04 server running LAMP. I am running Apache 2. On the same machine I am running Shiny server and running my apps through port 4949.
http://www.rstudio.com/products/shiny/download-server/
I also am running an additional Shiny server copy on a virtual box through port 3838. All is running very good. I have an html web page running on Apache 2. I can view it and all my apps running on both Shiny servers from any place on the web.
My concern, however is security. I have port 3838, 4949, and 80 open. How can I set up Apache to run as a reverse proxy for my both of my Shiny servers (ports 4949, and 3838) and also continue to host my web page securely.
I have also attempted to set up a self-signed certificate using the following procedure but it is not working. I used the following instructions and followed them verbatim.
https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04
Can anybody offer troubleshooting tips for me here, or how to set up a reverse proxy for my Shiny servers? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
jhwatts2010
Joined: 17 Jun 2015 Posts: 2 Location: Knoxville, Tennessee
|
Posted: Mon 22 Jun '15 23:50 Post subject: |
|
|
I need more detail. I open a shell and typed
LoadModule proxy_module modules/mod_proxy.so .
It yelled at me. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 23 Jun '15 10:50 Post subject: |
|
|
If I remember correctly there is a folder with mod-available and mod-enabled in in /etc/apache or /etc/apache2 folder
However remove that line and run
Code: | sudo a2enmod proxy_http |
Sorry that I didn't think of that, but this is a forum for apache on windows and things often a bit different |
|
Back to top |
|
|
|
|
|
|