mirror of
https://github.com/tufanbarisyildirim/gonginx.git
synced 2026-04-27 00:35:51 +03:00
[GH-ISSUE #2] example request #1
Labels
No labels
bug
enhancement
good first issue
pull-request
question
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gonginx#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jsrj78 on GitHub (May 10, 2020).
Original GitHub issue: https://github.com/tufanbarisyildirim/gonginx/issues/2
Hi tufanbarisyildirim
Would you give an example? How to read and write http or server nodes. I am a beginner.
@tufanbarisyildirim commented on GitHub (May 15, 2020):
Hi @jsrj78 you can check that example : https://github.com/tufanbarisyildirim/gonginx/blob/master/examples/adding-server/main.go
@jsrj78 commented on GitHub (May 16, 2020):
Hi tufanbarisyildirim
Thank you reply quickly.I met the trouble that I have an nginx.conf file, how do I get and set the proxy_pass node?
nginx.conf
@tufanbarisyildirim commented on GitHub (May 17, 2020):
There is no specific API interface for
proxy_passdirectives but you can use FindDirectives by name and check all found directives by its first parameter to detect the one you want to cahangetry sth like this;
@jsrj78 commented on GitHub (May 17, 2020):
tufanbarisyildirim,thank you very much