You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "herdiansah571 (via GitHub)" <gi...@apache.org> on 2023/11/27 07:56:29 UTC

[I] How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ? [cloudstack]

herdiansah571 opened a new issue, #8267:
URL: https://github.com/apache/cloudstack/issues/8267

   Hello,
   
   I have succesfully install apache cloudstack version 4.18.1.0
   anyone here ever succesfully setup nginx reverse proxy for apache cloudstack web dashboard & console proxy ?
   
   please help
   
   Thanks...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ? [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8267:
URL: https://github.com/apache/cloudstack/issues/8267#issuecomment-1900028745

   > hello @weizhouapache I use self signed certificate ssl nginx reverse proxy for management server. do you have reference how to setup nginx reverse proxy for console proxy apache cloudstack ?
   > 
   > please help me
   
   @herdiansah571 
   for CPVM, please refer to https://github.com/apache/cloudstack/issues/7317#issuecomment-1829964219


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ? [cloudstack]

Posted by "herdiansah571 (via GitHub)" <gi...@apache.org>.
herdiansah571 commented on issue #8267:
URL: https://github.com/apache/cloudstack/issues/8267#issuecomment-1827412891

   I have succesfully nginx reverse proxy  use self-signed certificate ssl for mgmt servers, here my setting :
   
   server {
   listen 192.168.200.25:80;
   server_name 192.168.200.25;
   ## redirect http to https ##
   rewrite ^ https://$server_name/client/ permanent;
   }
   
   server {
   listen 192.168.200.25:443;
   server_name 192.168.200.25;
   
   rewrite ^/$ https://192.168.200.25/client/ permanent;
   
   ### ssl config - customize as per your cert files ###
   ssl on;
   ssl_certificate /etc/nginx/ssl/certs/nginx-selfsigned.crt;
   ssl_certificate_key /etc/nginx/ssl/private/nginx-selfsigned.key;
   ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
   ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
   ssl_prefer_server_ciphers on;
   keepalive_timeout 70;
   ssl_session_cache shared:SSL:10m;
   ssl_session_timeout 10m;
   
   ## Reverse Proxy
   location / {
   add_header Front-End-Https on;
   add_header Cache-Control "public, must-revalidate";
   add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
   add_header X-Frame-Options "DENY";
   proxy_pass http://127.0.0.1:8080;
   proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
   proxy_set_header Host $host;
   proxy_set_header X-Real-IP $remote_addr;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   }
   }
   
   
   but I don't know how to setup  nginx reverse proxy for console proxy apache cloudstack, do you have reference for setup nginx reverse proxy for console proxy apache cloudstack ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ? [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #8267:
URL: https://github.com/apache/cloudstack/issues/8267#issuecomment-1934648195

   @herdiansah571 if you search my email on users ML you'll find a solution to do this, behind a single public IP (natted-home network use-case, for example).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ? [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #8267:
URL: https://github.com/apache/cloudstack/issues/8267#issuecomment-2088234527

   See https://github.com/apache/cloudstack/discussions/9013


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ? [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8267:
URL: https://github.com/apache/cloudstack/issues/8267#issuecomment-1827402020

   @herdiansah571 
   I think several users have configured nginx to support multiple mgmt servers, which is not difficult. 
   do you use https or http ?
   
   (CPVM and SSVM configurations are complicated, if you use https.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ? [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud closed issue #8267: How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ?
URL: https://github.com/apache/cloudstack/issues/8267


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ? [cloudstack]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #8267:
URL: https://github.com/apache/cloudstack/issues/8267#issuecomment-1827314638

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ? [cloudstack]

Posted by "herdiansah571 (via GitHub)" <gi...@apache.org>.
herdiansah571 commented on issue #8267:
URL: https://github.com/apache/cloudstack/issues/8267#issuecomment-1827433300

   hello @weizhouapache 
   I use self signed certificate ssl nginx reverse proxy for management server. do you have reference how to setup nginx reverse proxy for console proxy apache cloudstack ?
   
   
   please help me


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to add nginx reverse proxy for apache cloudstack web dashboard & console proxy ? [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #8267:
URL: https://github.com/apache/cloudstack/issues/8267#issuecomment-2085220946

   This is answered and largely outside of scope of CloudStack. Closing on the remarks as it's been answered. For further discussion, pl discuss on Github discussions or on the user mailing list.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org