2nd IP address for gitlab pages with custom domains
One of the requirements to setup gitlab pages with custom domains is a 2nd IP address: https://docs.gitlab.com/11.2/ce/administration/pages/index.html
- Wildcard DNS setup
- Secondary IP
How can I obtain a second IP address? The company I have machines on, Hetzner, doesn't seem to rent them.
See also questions close to this topic
- Photos of project members are not displayed in GITLAB
how to generate ssh key for gitlab using source tree
Open Source Tree > Click on Tools > Click on Create or Import SSH Key. You will be prompted with another window which is the PuTTY Key Generator Window [https://i.stack.imgur.com/Drr82.png]
From here Click Generate and for the window to load > Copy Public Key for pasring into OpenSSH authorized_keys file > Once u copy the public key go to gitlab website and sign into your account > Open your project > Click on the top right icon [https://i.stack.imgur.com/vSzgp.png] > Click Setting > Click SSH Keys on the left nav bar [https://i.stack.imgur.com/MY9nJ.png] > You will be prompted with this page[https://i.stack.imgur.com/WWOrV.png] and all you have to do is insert the copied public key into text area provided > Click Add key and you are done..
p.s You can give a title to your public key if you wish
GitLab| How to go back to the first commit?
I've created a GitLab Private Repository after some changes I would like to go back to the first commit (And to delete the history of the other ones after it) and have it as my new master. I'm using git in cmd. Thx for your help :)
How can I set an Ethernet connection to a static IP based on it's description?
I am writing a batch script that configures a newly added Ethernet connection. Problem is, The Ethernet connection sets it's name to "Ethernet #" where # is however many Ethernet connections have been established on this computer thus far. I have noticed however, that the "description" of my newly added Ethernet connection is fairly unique.
I have gone back and forth between parsing both netsh and wmic commands but have yet to find a way to single out an Ethernet connection based on it's description, and then configure it's IP to something static.
I feel like this is a fairly common problem but my google-fu is weak. How can I configure any Ethernet connections with a certain description to a static IP using a batch script?
Create static IP for Google Places API keys restrictions on AWS Elasticbeanstalk with autoscaling
I use Google Places API, and I need to put a restriction on my API key. I need to use an IP restriction because the calls are from a web server.
I am using AWS Elastic Beanstalk with an environment where I have a load balancer, autoscaling, and a VPC. So the IP address changes everytime a new EC2 server is created.
My question is : How do I put a static IP (Elastic ?) on my environment?
I have found many similar posts like this one (https://stackoverflow.com/a/49200693/3954420) or this one (https://medium.com/@obezuk/how-to-use-elastic-beanstalk-with-an-ip-whitelisted-api-69a6f8b5f844) where I have to create a NAT Gateway. But it requires at the end to type a target IP address, and unfortunately, Google API servers IPs are not static.
Any ideas on how I do that?
- With static IP on Hyper V ping from Host fails
Integrating static content when testing Gitlab pages with a local Jekyll installation
I have built a Gitlab Pages site using the Start Bootstrap Creative theme. The theme has some static files, which reside in their own directory tree at
static. When the site is deployed, content placed in
static/foo/baris available at
Since I don’t want to do try-and-error commits as I am building my pages, I have installed Jekyll locally. However, when I do
jekyll serve, the static content is missing (or rather, available at
http://127.0.0.1:4000/foo/barwhere the theme expects it).
I see that the CI script for Gitlab,
.gitlab-ci.yml, has the following commands:
gem install jekyll jekyll build -d public/ cp -r static/* public/
In other words, the
statictree is copied to its location manually after the Jekyll build.
How can I achieve the same thing when serving the site locally with
On Premise Gitlab Pages: How to increase/debug public folder allowed size // ERROR: Uploading artifacts to coordinator... too large archive
I'm creating a big (satis) package repository in a GitLab CI build step and wanted to just host it in GitLab Pages (on premise install). This works flawlessly, until the public folder size gets big, as soon as not only package versions, but downloads are stored in it as well. I added a last step to the
pagestask to show folder size:
$ du -h public 2.7G public Creating cache default... public: found 564 matching files vendor: found 3808 matching files Created cache Uploading artifacts... public: found 564 matching files ERROR: Uploading artifacts to coordinator... too large archive id=494 responseStatus=413 Request Entity Too Large status=413 Request Entity Too Large token=kDf7gQEd FATAL: Too large ERROR: Job failed: exit code 1
Of course that is a whole lot. I managed to delete some outdated minor version and was at
Still the same problem. After some investigation there seem to be two relevant limits:
- Gitlab Pages System Configuration: Max Pages Size (was set to 0 for unlimited)
- NGINX max post size in /etc/gitlab/gitlab.rb (was set to disabled, seems to default to 250M). Which I changed to
nginx['client_max_body_size'] = '1024m'
Still the same problem. Even after deleting even more versions down to
580Mfolder size the same error resides. As soon as I disable downloads and thus only have
How can I debug the cause of this? Or is there some other hidden configuration?