Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
2c413522
Commit
2c413522
authored
Sep 08, 2019
by
Evan Read
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-71' into 'master'
fix for #60120 See merge request gitlab-org/gitlab-ce!30199
parents
9350a278
a529d654
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
doc/administration/integration/plantuml.md
doc/administration/integration/plantuml.md
+16
-1
No files found.
doc/administration/integration/plantuml.md
View file @
2c413522
...
...
@@ -54,6 +54,21 @@ http://localhost:8080/plantuml
you can change these defaults by editing the
`/etc/tomcat7/server.xml`
file.
### Making local PlantUML accessible using custom GitLab setup
The PlantUML server runs locally on your server, so it is not accessible
externally. As such, it is necessary to catch external PlantUML calls and
redirect them to the local server.
The idea is to redirect each call to
`https://gitlab.example.com/-/plantuml/`
to the local PlantUML server
`http://localhost:8080/plantuml`
.
To enable the redirection, add the following line in
`/etc/gitlab/gitlab.rb`
:
```
ruby
nginx
[
'custom_gitlab_server_config'
]
=
"location /-/plantuml {
\n
proxy_cache off;
\n
proxy_pass http://127.0.0.1:8080;
\n
}
\n
"
```
## GitLab
You need to enable PlantUML integration from Settings under Admin Area. To do
...
...
@@ -62,7 +77,7 @@ that, login with an Admin account and do following:
-
In GitLab, go to
**Admin Area > Settings > Integrations**
.
-
Expand the
**PlantUML**
section.
-
Check
**Enable PlantUML**
checkbox.
-
Set the PlantUML instance as
**PlantUML URL**
.
-
Set the PlantUML instance as
`https://gitlab.example.com/-/plantuml/`
.
## Creating Diagrams
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment