After you create your cert + cert key, enable by updating nginx
sudo gitlab-ctl hup nginx| digraph G { | |
| CG [ | |
| shape=plaintext | |
| label=< | |
| <table border='0' cellborder='1' cellspacing='0'> | |
| <tr> | |
| <td>CG</td> | |
| <td>...</td> |
| digraph G { | |
| Disk [ | |
| shape=plaintext | |
| label=< | |
| <table border='0' cellborder='1' cellspacing='0'> | |
| <tr> | |
| <td>Disk</td> | |
| <td port='one'>Partition 1</td> | |
| <td port='two'>Partition 2</td> |
| import sys | |
| !{sys.executable} -m pip install requests |
| from __future__ import print_function | |
| import struct | |
| import zlib | |
| with open('./whitePixel.png','rb') as f: | |
| PNGheader = f.read(8) | |
| while True: | |
| chunk = f.read(4) | |
| if not chunk: break |
| import zlib | |
| import struct | |
| #in while loop | |
| try: | |
| chunkType = bytes(chunkType).decode('utf-8') | |
| if chunkType == 'IDAT': | |
| deflated = zlib.decompress(data) | |
| (a,r,g,b) = struct.unpack('<BBBB',deflated) | |
| print('argb value is: [{},{},{},{}]'.format(a,r,g,b)) |
| while True: | |
| chunk = f.read(4) | |
| if not chunk: break | |
| chunkType = f.read(4) | |
| numBytes = int.from_bytes(chunk, byteorder='big') | |
| data = f.read(numBytes) | |
| crc = f.read(4) | |
| print(chunkType) | |
| print(data) |