Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
6966 มุมมอง

Hi,

I had made a server of openerp. From browser it was accessable by http ://ip:8069 I wanted to rip the 8069 port... I searched and installed the Nginx after that I was able to access by HTTPS ://ip also. And if i put http ://ip , it redirects me to HTTPS. HTTPS requires SSL certificate else it gives the security check everytime the browser is opened.

Is there a possibility to access the server by http :// ip ??

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Sure, you could configure it that way, but I'd recommend against it if it's a public-facing server. You shouldn't be sending your login credentials over an unencrypted connection. RapidSSL sells certificates for $49/year IIRC, worth it to get around the browser hassle, and much better than having no encryption.

You could also be deploying your self-signed certificate internally, but that's not really an OpenERP subject.

อวตาร
ละทิ้ง

Or get a free certificate from StartSSL => http://www.startssl.com

Very interesting. Curious to see how a class 1 certificate would work in an application like that.

ผู้เขียน

I made it work with HTTPS ://mydomain.com

ผู้เขียน คำตอบที่ดีที่สุด

I made it work with HTTP ://mydomain.com through the router configuration

อวตาร
ละทิ้ง

Inyway to get a bit more info on how you did it?

ผู้เขียน

I just bind the ipaddress:8069 to the HTTP://domainname from the network settings :)

คำตอบที่ดีที่สุด

Open your site configuration file in sites-enabled and replace its contents with: (Don't forget it back it up)

server {
  listen 80;
  send_timeout 600;
  client_max_body_size 256M;
  server_name example . com example . org;
  location / {
    proxy_pass h t t p: // localhost:8069;
  }
}

Restart Nginx and test. The lines:

  send_timeout 600;
  client_max_body_size 256M;

are for my use case. You are free to adjust or remove them. Sorry, I can't post links, so remove extra spaces.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 22
2226
4
ธ.ค. 23
25210
3
ส.ค. 16
10011
Insecure translations แก้ไขแล้ว
4
มี.ค. 23
15049
1
ก.พ. 21
4329