How to integrate your Interface into nginx
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- javascript, nginx, node.js
- Lĩnh vực
- devops, documentation
Hướng nghiên cứu
Review the nginx/sites-available/00-default-ssl.conf configuration and the /etc/nginx/templates/mlmmj-web.tmpl example provided in the issue. Document the required nginx integration for iredmail, including the routing and proxy settings needed for the interface to work at /mlmmj-web/ without a 404 after login.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi there,
I'm trying to add your interface into iredmail, but with no luck. There is no nginx integration described anywhere. So I stucked at 404 not found problem after login.
Here is my current nginx/sites-available/00-default-ssl.conf (which is indeed enabled):
Note: This file must be loaded before other virtual host config files,
HTTPS
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name _;
root /var/www/html;
index index.php index.html;
include /etc/nginx/templates/misc.tmpl;
include /etc/nginx/templates/phpldapadmin.tmpl;
include /etc/nginx/templates/ssl.tmpl;
include /etc/nginx/templates/iredadmin.tmpl;
include /etc/nginx/templates/roundcube.tmpl;
include /etc/nginx/templates/sogo.tmpl;
include /etc/nginx/templates/netdata.tmpl;
include /etc/nginx/templates/php-catchall.tmpl;
include /etc/nginx/templates/stub_status.tmpl;
include /etc/nginx/templates/mlmmj-web.tmpl;
}
and with a template (/etc/nginx/templates/mlmmj-web.tmpl) looking like this:
Mlmmj-Simple-Web-Interface Proxy Template
location /mlmmj-web/ {
allow all;
proxy_pass http://127.0.0.1:4792/;
root /opt/mlmmj-simple-web-interface;
rewrite ^/mlmmj-web/(.*)$ /$1 break;
index index.js;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
#proxy_redirect off;
proxy_redirect http://localhost:4792/ /mlmmj-web/;
proxy_redirect / /mlmmj-web/;
}
Does anyone has a hint for me?
- Ngôn ngữ chính
- JavaScript
- Star
- 29
- Fork
- 9
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tchapi/mlmmj-simple-web-interface
-
List directory problemĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
tchapi/mlmmj-simple-web-interface#12 · 1 bình luận ·
Tất cả issue của tchapi/mlmmj-simple-web-interface
Issue tương tự
-
Site Suggestion: bullseyeĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add toro4n to the data modeling toolsCó thể đã có người làm @henriklantzhedstrom-prog đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
neo4j/docs-getting-started#546 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 25 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
libnativeapi/nativeapi#21 ·
-
area: core complexity: easy impact: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
ueberdosis/tiptap#8668 ·
Maintainer thường phản hồi trong vòng 1 ngày